System crashed with error "BUG: unable to handle kernel NULL pointer dereference at 0000000000000030"
Issue
RHEL 7.3 server is crashing with kernel NULL pointer deference in shmem_free_inode+0x13.
[1223659.498409] VFS: Busy inodes after unmount of tmpfs. Self-destruct in 5 seconds. Have a nice day...
[1223659.498527] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
[1223659.498533] IP: [<ffffffff81198a23>] shmem_free_inode+0x13/0x40
[1223659.498534] PGD 0
[1223659.498535] Oops: 0000 [#1] SMP
[1223659.498555] Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun vfat fat uas usb_storage mpt3sas mpt2sas raid_class scsi_transport_sas mptctl mptbase dell_rbu ipt_REJECT nf_reject_ipv4 xt_conntrack bonding(OE) toecore(OE) ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ebtable_filter ebtables ip6_tables iptable_filter rpcrdma sunrpc ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm iw_cxgb4(OE) ib_core intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel cdc_ether
[1223659.498572] lrw usbnet mii gf128mul glue_helper ablk_helper iTCO_wdt cryptd iTCO_vendor_support dcdbas mxm_wmi sg pcspkr ipmi_devintf mei_me mei sb_edac lpc_ich edac_core ipmi_si shpchp ipmi_msghandler acpi_power_meter wmi ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci cxgb4(OE) drm csiostor(OE) tg3 libahci crct10dif_pclmul scsi_transport_fc ptp crct10dif_common crc32c_intel libata i2c_core megaraid_sas scsi_tgt pps_core fjes
[1223659.498574] CPU: 12 PID: 192088 Comm: libvirtd Tainted: G OE ------------ 3.10.0-514.el7.x86_64 #1
[1223659.498576] Hardware name: Dell Inc. PowerEdge R730xd/0WCJNT, BIOS 2.4.3 01/17/2017
[1223659.498576] task: ffff88072aaabec0 ti: ffff8810399bc000 task.ti: ffff8810399bc000
[1223659.498578] RIP: 0010:[<ffffffff81198a23>] [<ffffffff81198a23>] shmem_free_inode+0x13/0x40
[1223659.498579] RSP: 0018:ffff8810399bfd28 EFLAGS: 00010246
[1223659.498580] RAX: ffff881e1d75e148 RBX: 0000000000000000 RCX: 0000000000000034
[1223659.498580] RDX: 00000000000018fc RSI: e000000000000000 RDI: ffff881d0138d800
[1223659.498581] RBP: ffff8810399bfd38 R08: 3038000000000000 R09: 1e1d75e0981c0000
[1223659.498581] R10: e1c491a6c55c2607 R11: ffffea00215df780 R12: ffff881e1d75dfe0
[1223659.498582] R13: ffff881e1d75dfe0 R14: ffff881e1d75dff8 R15: 0000000000000000
[1223659.498583] FS: 00007f786044a880(0000) GS:ffff88103e780000(0000) knlGS:0000000000000000
[1223659.498583] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1223659.498584] CR2: 0000000000000030 CR3: 0000000732e3d000 CR4: 00000000003427e0
[1223659.498584] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[1223659.498585] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[1223659.498585] Stack:
[1223659.498587] ffff881e1d75dfe0 ffff881e1d75dfe0 ffff8810399bfd68 ffffffff8119d01f
[1223659.498588] ffff881e1d75dff8 ffff881e1d75e100 ffffffff816c82a0 ffffffff816c82a0
[1223659.498589] ffff8810399bfd90 ffffffff8121a0e7 ffff881e1d75dff8 ffff881e1d75e080
[1223659.498589] Call Trace:
[1223659.498593] [<ffffffff8119d01f>] shmem_evict_inode+0x7f/0x130
[1223659.498595] [<ffffffff8121a0e7>] evict+0xa7/0x170
[1223659.498596] [<ffffffff8121a985>] iput+0xf5/0x180
[1223659.498599] [<ffffffff81283668>] devpts_del_ref+0x28/0x40
[1223659.498603] [<ffffffff813ec046>] pty_unix98_shutdown+0x36/0x50
[1223659.498605] [<ffffffff813e0f97>] release_tty+0x37/0x140
[1223659.498607] [<ffffffff813e21fd>] tty_release+0x36d/0x530
[1223659.498610] [<ffffffff811fff09>] __fput+0xe9/0x260
[1223659.498611] [<ffffffff812001be>] ____fput+0xe/0x10
[1223659.498614] [<ffffffff810accc7>] task_work_run+0xa7/0xe0
[1223659.498618] [<ffffffff8102ab22>] do_notify_resume+0x92/0xb0
[1223659.498620] [<ffffffff8169677d>] int_signal+0x12/0x17
[1223659.498633] Code: 24 73 03 00 48 8b 85 10 ff ff ff eb c8 e8 b6 cb ee ff 66 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 54 53 48 8b 9f 50 03 00 00 <48> 83 7b 30 00 74 19 4c 8d 63 40 4c 89 e7 e8 aa 4d 4f 00 48 83
[1223659.498634] RIP [<ffffffff81198a23>] shmem_free_inode+0x13/0x40
[1223659.498635] RSP <ffff8810399bfd28>
[1223659.498635] CR2: 0000000000000030
Environment
Red Hat Enterprise Linux 7.3
3.10.0-514.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
