Server panics at kmem_cache_alloc while allocating slab memory due to unsigned kernel module fileaccess_mod

Solution Verified - Updated -

Issue

  • System crashes with following messages in the kernel ring buffer
FILEACCESS_ERROR   : Failed to create slab memory for lru cache record
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
IP: [<ffffffff81181176>] kmem_cache_alloc+0x76/0x190
PGD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/devices/system/cpu/online
CPU 1 
Modules linked in: fileaccess_mod(+)(U) iptable_filter ip_tables nfs lockd fscache auth_rpcgss nfs_acl sunrpc cpufreq_ondemand freq_table pcc_cpufreq uinput power_meter acpi
_ipmi ipmi_si ipmi_msghandler microcode iTCO_wdt iTCO_vendor_support hpilo hpwdt sg serio_raw lpc_ich mfd_core ioatdma dca  dm_log dm_mod [last unloaded: fileaccess_mod]

Pid: 29052, comm: OAS Br WatchDog Not tainted 2.6.32-696.18.7.el6.x86_64 #1 HP ProLiant BL460c Gen8
RIP: 0010:[<ffffffff81181176>]  [<ffffffff81181176>] kmem_cache_alloc+0x76/0x190
Stack:
 ffff8817d196be78 ffffffff81131610 0000000000010000 0000000000000000
<d> 00000000ffffffff ffffffff811315f0 ffff8817d196be18 ffffffff81131625
<d> ffff8817d196be68 ffffffff81131b03 0000000000000008 ffff881026588c40
Call Trace:
 [<ffffffff81131610>] ? mempool_alloc_slab+0x0/0x20
 [<ffffffff811315f0>] ? mempool_free_slab+0x0/0x20
 [<ffffffff81131625>] mempool_alloc_slab+0x15/0x20
 [<ffffffff81131b03>] mempool_create_node+0xc3/0x120
 [<ffffffff81131b74>] mempool_create+0x14/0x20
 [<ffffffff81131b74>] mempool_create+0x14/0x20
 [<ffffffffa044a4c0>] scanCache_init+0xd0/0x190 [fileaccess_mod]
 [<ffffffffa005a000>] ? initFileAccess+0x0/0xd1 [fileaccess_mod]
 [<ffffffffa0444b83>] hook_init+0x13/0x1e0 [fileaccess_mod]
 [<ffffffffa005a000>] ? initFileAccess+0x0/0xd1 [fileaccess_mod]
 [<ffffffffa005a072>] initFileAccess+0x72/0xd1 [fileaccess_mod]
 [<ffffffffa005a000>] ? initFileAccess+0x0/0xd1 [fileaccess_mod]
 [<ffffffff810020d0>] do_one_initcall+0xc0/0x280
 [<ffffffff810c8d61>] sys_init_module+0xe1/0x250
 [<ffffffff815566d6>] system_call_fastpath+0x16/0x1b
 [<ffffffff8155656a>] ? system_call_after_swapgs+0xca/0x220
Code: 00 65 48 8b 04 25 00 fc 00 00 f6 40 17 10 0f 85 93 00 00 00 f6 80 18 0a 00 00 04 0f 85 86 00 00 00 65 8b 04 25 38 15 01 00 48 98 <49> 8b 44 c5 00 8b 18 85 db 0f 84 d7 00 00 00 8b 10 c7 40 0c 01 
RIP  [<ffffffff81181176>] kmem_cache_alloc+0x76/0x190
 RSP <ffff8817d196bdd8>
CR2: 0000000000000008

Environment

  • Red Hat Enterprise Linux

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