RHEL7.9.z kernel crashed due to a null-dereference happened in kmem_cache_free() called from setNewEntryScanState()

Solution Verified - Updated -

Issue

  • RHEL7.9.z kernel crashed due to a null-dereference happened in kmem_cache_free() called from setNewEntryScanState()
[1850740.957142] BUG: unable to handle kernel NULL pointer dereference at 0000000000000009
[1850740.957168] IP: [<ffffffff96426e59>] kmem_cache_free+0x19/0x200
[1850740.957187] PGD 80000001f5c1f067 PUD 1f47d2067 PMD 0 
[1850740.957203] Oops: 0000 [#1] SMP 
[1850740.957214] Modules linked in: fileaccess_mod_100602103(OE) tcp_diag udp_diag inet_diag xt_limit ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_pkttype xt_conntrack ebtable_nat ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw 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 ip6table_filter ip6_tables iptable_filter vmw_vsock_vmci_transport vsock arptable_filter arp_tables ppdev vmw_balloon sg pcspkr joydev parport_pc vmw_vmci parport i2c_piix4 ip_tables xfs libcrc32c sr_mod cdrom sd_mod crc_t10dif vmwgfx ata_generic crct10dif_generic pata_acpi crct10dif_common drm_kms_helper
[1850740.957425]  syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci drm ata_piix libahci libata crc32c_intel nfit serio_raw vmxnet3 libnvdimm vmw_pvscsi drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod [last unloaded: fileaccess_mod_100602103]
[1850740.957494] CPU: 0 PID: 61960 Comm: BESClient Kdump: loaded Tainted: G    B      OE  ------------   3.10.0-1160.45.1.el7.x86_64 #1
[1850740.957518] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/05/2016
[1850740.957541] task: ffff96fadf2d2100 ti: ffff96fad0174000 task.ti: ffff96fad0174000
[1850740.957559] RIP: 0010:[<ffffffff96426e59>]  [<ffffffff96426e59>] kmem_cache_free+0x19/0x200
[1850740.957581] RSP: 0018:ffff96fad0177e08  EFLAGS: 00010202
[1850740.957610] RAX: 0000000000000001 RBX: ffff96f9faf9a0c0 RCX: 0000000180080001
[1850740.957627] RDX: 0000000180080002 RSI: ffff96f9faf9a0c0 RDI: 0000000000000000
[1850740.957643] RBP: ffff96fad0177e20 R08: ffff96fb768cf000 R09: 0000000180080001
[1850740.957659] R10: 00000000768cb001 R11: ffff96fb768cf000 R12: 0000000000000000
[1850740.957676] R13: 000000000000a86f R14: ffff96f9faf9a110 R15: 0000000000000000
[1850740.957693] FS:  00007f04271bc740(0000) GS:ffff96fb7fc00000(0000) knlGS:0000000000000000
[1850740.957711] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1850740.957724] CR2: 0000000000000009 CR3: 00000001b1248000 CR4: 00000000000007f0
[1850740.957776] Call Trace:
[1850740.957787]  [<ffffffffc068669d>] setNewEntryScanState+0x46d/0x720 [fileaccess_mod_100602103]
[1850740.957810]  [<ffffffff962c6f50>] ? wake_up_atomic_t+0x30/0x30
[1850740.957825]  [<ffffffffc0686a1f>] doScan+0x5f/0xc0 [fileaccess_mod_100602103]
[1850740.957841]  [<ffffffffc0686c6a>] SC_doScan+0x17a/0x190 [fileaccess_mod_100602103]
[1850740.957858]  [<ffffffffc0685354>] fileaccess_sys_open+0x1e4/0x200 [fileaccess_mod_100602103]
[1850740.957879]  [<ffffffff96995f92>] system_call_fastpath+0x25/0x2a
[1850740.957894]  [<ffffffff96995ed5>] ? system_call_after_swapgs+0xa2/0x13a
[1850740.957909] Code: c9 96 e8 6b 45 e7 ff e9 be fe ff ff 66 0f 1f 44 00 00 66 66 66 66 90 55 48 89 e5 41 55 41 54 49 89 fc 53 48 89 f3 66 66 66 66 90 <f6> 47 09 01 0f 85 dd 00 00 00 4c 89 e7 48 85 ff 74 7d b8 00 00 
[1850740.958024] RIP  [<ffffffff96426e59>] kmem_cache_free+0x19/0x200
[1850740.958040]  RSP <ffff96fad0177e08>
[1850740.958117] CR2: 0000000000000009

Environment

  • Red Hat Enterprise Linux 7.9.z: kernel-3.10.0-1160.45.1.el7.x86_64
  • fileaccess_mod_100602103

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