Server Panic rebooted "BUG: unable to handle kernel NULL pointer dereference at 0000000000000009" due to third party kernel module secfs2 inside function vmfs_same_sb.

Solution Unverified - Updated -

Issue

[1349046.640322] BUG: unable to handle kernel NULL pointer dereference at 0000000000000009
[1349046.649045] IP: [<ffffffffc0932119>] vmfs_same_sb+0x19/0x50 [secfs2] <----
[1349046.650681] PGD 0 
[1349046.651985] Oops: 0000 [#1] SMP 
[1349046.653310] Modules linked in: unix_diag secvm2(POE) secfs2(POE) xt_nat veth xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c br_netfilter bridge 8021q garp mrp stp llc overlay(T) vmw_vsock_vmci_transport vsock sunrpc sb_edac iosf_mbi crc32_pclmul ppdev ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper vmw_balloon ablk_helper cryptd joydev pcspkr sg vmw_vmci i2c_piix4 parport_pc parport binfmt_misc ip_tables ext4 mbcache jbd2 dm_snapshot dm_bufio sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod crc_t10dif crct10dif_generic drm ahci ata_piix libahci nfit crct10dif_pclmul libata crct10dif_common
[1349046.659373]  crc32c_intel serio_raw libnvdimm vmw_pvscsi pcnet32 mii drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod fuse
[1349046.660445] CPU: 3 PID: 9648 Comm: pool Kdump: loaded Tainted: P        W  OE  ------------ T 3.10.0-1160.45.1.el7.x86_64 #1
[1349046.661553] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[1349046.662619] task: ffff95da56745280 ti: ffff95dc3c980000 task.ti: ffff95dc3c980000
[1349046.663655] RIP: 0010:[<ffffffffc0932119>]  [<ffffffffc0932119>] vmfs_same_sb+0x19/0x50 [secfs2] <<--
[1349046.664776] RSP: 0018:ffff95dc3c983dd0  EFLAGS: 00010282
[1349046.665908] RAX: 0000000000000001 RBX: ffff95dc2700bf08 RCX: 0000000000000001
[1349046.666956] RDX: ffff95dc27154480 RSI: ffff95dc3cd10800 RDI: ffff95cef4300008
[1349046.667971] RBP: ffff95dc3c983dd0 R08: ffffffff8c88edf7 R09: 0000000000000000
[1349046.668961] R10: ffff95cef4300008 R11: 000000000000b980 R12: 0000000000000001
[1349046.669885] R13: ffff95dc3cd10800 R14: ffff95cef4300008 R15: ffff95dc3cd10800
[1349046.670847] FS:  00007f5d4ad36700(0000) GS:ffff95dc7fcc0000(0000) knlGS:0000000000000000
[1349046.671759] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1349046.672664] CR2: 0000000000000009 CR3: 0000000ffbc2e000 CR4: 00000000003607e0
[1349046.673604] Call Trace:
[1349046.674555]  [<ffffffffc099385d>] vmfs_freeze_thaw_list+0x5d/0xf0 [secfs2] <<--
[1349046.675513]  [<ffffffffc093122b>] op_freeze_fs+0x8b/0x310 [secfs2] <<--
[1349046.676496]  [<ffffffff8c0518eb>] freeze_super+0xbb/0x130
[1349046.677435]  [<ffffffff8c063b44>] do_vfs_ioctl+0x414/0x5b0
[1349046.678350]  [<ffffffff8c063d81>] SyS_ioctl+0xa1/0xc0
[1349046.679308]  [<ffffffff8c595f92>] system_call_fastpath+0x25/0x2a
[1349046.680214] Code: 1e d5 1c 00 e8 89 42 05 00 e9 af fd ff ff 0f 1f 40 00 0f 1f 44 00 00 55 48 8b 52 08 48 89 e5 48 85 d2 74 36 48 8b 82 50 03 00 00 <4c> 8b 40 08 4d 85 c0 74 26 31 c0 48 3b 17 74 06 49 39 70 08 74 
[1349046.682195] RIP  [<ffffffffc0932119>] vmfs_same_sb+0x19/0x50 [secfs2] <<--
[1349046.683237]  RSP <ffff95dc3c983dd0>
[1349046.684210] CR2: 0000000000000009

Environment

  • Red Hat Enterprise Linux 7
  • Third-party kernel module [secfs2]

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