Kernel panics in d_path(), nfs_file_fsync() or utl_flush_supported_open_files() routine in presence of scdrv module

Solution Verified - Updated -

Issue

The kernel experiences panic in either d_path(), nfs_file_fsync() and/or utl_flush_supported_open_files() routine while having scdrv kernel module loaded.

[11026171.144022] BUG: unable to handle kernel NULL pointer dereference at 0000000000000039  <=========
[11026171.145937] IP: [<ffffffffc05c09cd>] utl_flush_supported_open_files+0xbd/0x140 [scdrv]
[11026171.146595] PGD 308bdb067 PUD 0 
[11026171.147158] Oops: 0000 [#1] SMP 
[11026171.147725] Modules linked in: unix_diag falcon_lsm_serviceable(PE) falcon_nf_netcontain(E) falcon_kal(E) falcon_lsm_pinned_16604(E) falcon_lsm_pinned_16407(E) falcon_lsm_pinned_16206(
E) falcon_lsm_pinned_16108(E) falcon_lsm_pinned_16004(E) devlink nfsv3 cmac arc4 md4 nls_utf8 cifs ccm rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute bridge stp llc iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat iptable_mangle iptable_security iptable_raw nf_conntrack ip_set ebtable_filter ebtables ip6_tables iptable_filter scdrv(OE)
[11026171.154602] CPU: 1 PID: 143054 Comm: get_cpu_ctms1pr Kdump: loaded Tainted: P           OE  ------------   3.10.0-1160.92.1.el7.x86_64 #1
[11026171.156031] Hardware name: Nutanix AHV, BIOS nutanix-ahv-2.20220304.0.2429.el7 04/01/2014
[11026171.157449] RIP: 0010:[<ffffffffc05c09cd>]  [<ffffffffc05c09cd>] utl_flush_supported_open_files+0xbd/0x140 [scdrv]
[11026171.158174] RSP: 0018:ffff89a9ecd33ca0  EFLAGS: 00010202
[11026171.158935] RAX: ffff89a8b8ee1800 RBX: 00300030002d0037 RCX: 0000000000000000
[11026171.159704] RDX: 0000000000000240 RSI: ffff89a9e7708f60 RDI: ffff89a17fc07200
[11026171.160429] RBP: ffff89a9ecd33ce8 R08: 000000000001f1c0 R09: ffffffffc05bb5dd
[11026171.161240] R10: ffff89aa13a5f1c0 R11: fffff4b6c9a6ac00 R12: 0000000000000240
[11026171.161969] R13: 0000000000000001 R14: 000000000000000a R15: ffff89a8a1321580
[11026171.162696] FS:  00007fb203e46780(0000) GS:ffff89aa13a40000(0000) knlGS:0000000000000000
[11026171.163430] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11026171.164149] CR2: 0000000000000039 CR3: 00000009d6510000 CR4: 00000000003606e0
[11026171.164974] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[11026171.165857] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[11026171.166728] Call Trace:
[11026171.167484]  [<ffffffffc05a037e>] pst_exit_common+0x25e/0x270 [scdrv]     <====
[11026171.168220]  [<ffffffffc059d44a>] pst_vm_ops_close+0x12a/0x240 [scdrv]    <====
[11026171.169007]  [<ffffffffac3d2b4f>] ? free_pages.part.81+0x3f/0x50
[11026171.169750]  [<ffffffffac3d2b73>] ? free_pages+0x13/0x20
[11026171.170483]  [<ffffffffac4058d5>] remove_vma+0x35/0x80
[11026171.171245]  [<ffffffffac409524>] exit_mmap+0x104/0x1a0
[11026171.172006]  [<ffffffffac29c07f>] mmput+0x6f/0x100
[11026171.172736]  [<ffffffffac2a6128>] do_exit+0x288/0xa30
[11026171.173463]  [<ffffffffac2a694f>] do_group_exit+0x3f/0xa0
[11026171.174156]  [<ffffffffac2a69c4>] SyS_exit_group+0x14/0x20
[11026171.174882]  [<ffffffffac9c539a>] system_call_fastpath+0x25/0x2a
[11026171.175586] Code: 77 18 44 8d 70 01 48 8b 1c c6 48 85 db 74 5b 0f 1f 80 00 00 00 00 f6 c3 01 74 43 49 8b 47 08 49 63 d4 4c 8b 2c d0 4d 85 ed 74 33 <49> 8b 45 38 48 85 c0 74 2a 49 8b 45 28 48 85 c0 74 21 48 83 78 
[11026171.177108] RIP  [<ffffffffc05c09cd>] utl_flush_supported_open_files+0xbd/0x140 [scdrv] <=== Panic Function
[11026171.177859]  RSP <ffff89a9ecd33ca0>
[11026171.178640] CR2: 0000000000000039

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • scdrv kernel module

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content