RHEL 6/7 server crashes due to third party module 'fileaccess_mod'

Solution Verified - Updated -

Issue

  • System crashing due to null pointer in netlink_workQueue_msg() in fileaccess_mod third party kernel module per the kernel buffer logs :

    BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
    IP: [<ffffffffa04b57c7>] netlink_workQueue_msg_send+0x127/0x780 [fileaccess_mod]
    PGD 0 
    Oops: 0000 [#1] SMP 
    last sysfs file: /sys/devices/system/cpu/online
    CPU 0 
    Modules linked in:  <snip>
    Pid: 3498, comm: nl_queue/0 Not tainted 2.6.32-642.6.2.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
    RIP: 0010:[<ffffffffa04b57c7>]  [<ffffffffa04b57c7>] netlink_workQueue_msg_send+0x127/0x780 [fileaccess_mod]
    
  • System crashing due to null pointer in setAddrRW_sysCall() in fileaccess_mod third party kernel module per the kernel buffer logs :

    BUG: unable to handle kernel NULL pointer dereference at            (null)
    IP: [<ffffffffc0d24155>] setAddrRW_sysCall+0x25/0x60 [fileaccess_mod]
    PGD 0 
    Oops: 0000 [#1] SMP 
    Modules linked in:  <snip>
    CPU 0 PID: 4026 Comm: MA / LPC Client Kdump: loaded Tainted: G      OE ------------ 3.10.0-862.el7.x86_64 #1
    Hardware name: <snip>
    task: ffff9e3ee3ad2f70 ti:ffff89e3eca674000 task.ti: ffff9e2eca674000
    RIP: 0010:[<ffffffffc0d24155>] ti: [<ffffffffc0d24155>] setAddrRW_sysCall+0x25/0x60 [fileaccess_mod]
    
  • Server is crashing with NULL pointer dereference at 0000000000000090 in panic function doScan () of unsigned kernel module fileaccess_mod.

     BUG: unable to handle kernel NULL pointer dereference at 0000000000000090
     IP: [<ffffffffa03c2878>] doScan+0x2f8/0x860 [fileaccess_mod]
     PGD 10438e067 PUD 10111d067 PMD 0 
     Oops: 0000 [#1] SMP 
     last sysfs file: /sys/devices/pci0000:00/0000:00:16.0/0000:0b:00.0/net/eth1/address
     CPU 1 
     Modules linked in: fileaccess_mod(U) nls_utf8 vsock(U) vmci(U) autofs4 ipv6 sg microcode serio_raw e1000 vmware_balloon i2c_piix4 shpchp ext4 jbd2          mbcache sd_mod crc_t10dif sr_mod cdrom vmxnet3 vmw_pvscsi pata_acpi ata_generic ata_piix vmwgfx ttm drm_kms_helper drm i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: fileaccess_mod]
    
     Pid: 23880, comm: filebeat Tainted: G           --L------------    2.6.32-642.6.2.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference        Platform
     RIP: 0010:[<ffffffffa03c2878>]  [<ffffffffa03c2878>] doScan+0x2f8/0x860 [fileaccess_mod]                ---->>>> Panic function
     RSP: 0018:ffff880102b47e88  EFLAGS: 00010282
     RAX: 0000000000000000 RBX: ffff88023479b880 RCX: 0000000000000000
    

Environment

  • Red Hat Enterprise Linux

  • Third-party kernel module [fileaccess_mod]

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