Kernel panic at iput() funtion due to unsigned 'safenetfs' module.
Issue
- Kernel panic with below message in kernel ring buffer.
[ 2560.703884] ------------[ cut here ]------------
[ 2560.704007] kernel BUG at fs/inode.c:1535!
[ 2560.704111] invalid opcode: 0000 [#1] SMP
[ 2560.704219] Modules linked in: vsock_diag unix_diag af_packet_diag netlink_diag udp_diag tcp_diag inet_diag iptable_filter safenet_crypt_aesni(PFOE) safenetfs(PFOE) rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache vmw_vsock_vmci_transport vsock sb_edac iosf_mbi crc32_pclmul ghash_clmulni_intel ppdev aesni_intel lrw gf128mul glue_helper ablk_helper cryptd vmw_balloon joydev sg pcspkr parport_pc parport vmwgfx ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm vmw_vmci drm_panel_orientation_quirks i2c_piix4 nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel nfit serio_raw libnvdimm vmxnet3 vmw_pvscsi dm_mirror dm_region_hash
[ 2560.704859] dm_log dm_mod
[ 2560.704867] CPU: 6 PID: 65 Comm: kswapd0 Kdump: loaded Tainted: PF OE ------------ 3.10.0-1127.18.2.el7.x86_64 #1
[ 2560.704898] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[ 2560.704929] task: ffff8ff32a9220e0 ti: ffff8ff32aba8000 task.ti: ffff8ff32aba8000
[ 2560.704950] RIP: 0010:[<ffffffff8926bb72>] [<ffffffff8926bb72>] iput+0x152/0x190
[ 2560.704976] RSP: 0018:ffff8ff32ababb50 EFLAGS: 00010202
[ 2560.704993] RAX: 0000000000000000 RBX: ffff8ff2b121d810 RCX: dead000000000200
[ 2560.705014] RDX: 0000000000000000 RSI: ffffa926400ee770 RDI: ffff8ff2b121d810
[ 2560.705034] RBP: ffff8ff32ababb70 R08: ffff8ff285629590 R09: ffffffffc06f7828
[ 2560.705055] R10: 000000008388a001 R11: ffff8fef8388b900 R12: ffff8ff2b121d810
[ 2560.705075] R13: ffff8ff285629558 R14: ffff8ff32ababc20 R15: ffff8ff285629500
[ 2560.705096] FS: 0000000000000000(0000) GS:ffff8ff32d780000(0000) knlGS:0000000000000000
[ 2560.705119] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2560.705143] CR2: 00007f8348432000 CR3: 000000041906c000 CR4: 00000000001607e0
[ 2560.705204] Call Trace:
[ 2560.705218] [<ffffffff892664b8>] __dentry_kill+0x158/0x1d0
[ 2560.705237] [<ffffffff8926660e>] shrink_dentry_list+0xde/0x230
[ 2560.705255] [<ffffffff8926691e>] __prune_dcache_sb+0x1be/0x210
[ 2560.705319] [<ffffffff89268c63>] prune_dcache_sb+0x13/0x20
[ 2560.705414] [<ffffffff8924fd40>] prune_super+0x120/0x1a0
[ 2560.705496] [<ffffffff891d1d05>] shrink_slab+0x175/0x340
[ 2560.705579] [<ffffffff89242867>] ? vmpressure+0x87/0x90
[ 2560.705665] [<ffffffff891d5a38>] balance_pgdat+0x3a8/0x5e0
[ 2560.705749] [<ffffffff891d5de3>] kswapd+0x173/0x430
[ 2560.705828] [<ffffffff890c7780>] ? wake_up_atomic_t+0x30/0x30
[ 2560.707493] [<ffffffff891d5c70>] ? balance_pgdat+0x5e0/0x5e0
[ 2560.708367] [<ffffffff890c6691>] kthread+0xd1/0xe0
[ 2560.709241] [<ffffffff890c65c0>] ? insert_kthread_work+0x40/0x40
[ 2560.710109] [<ffffffff89792d37>] ret_from_fork_nospec_begin+0x21/0x21
[ 2560.710978] [<ffffffff890c65c0>] ? insert_kthread_work+0x40/0x40
[ 2560.711834] Code: eb 9e 0f 1f 80 00 00 00 00 48 81 8b a0 00 00 00 00 01 00 00 48 89 df e8 1d fe ff ff 4c 89 e7 c6 07 00 0f 1f 40 00 e9 ed fe ff ff <0f> 0b be d4 05 00 00 48 c7 c7 fb 81 a9 89 e8 bb 02 e3 ff e9 fb
[ 2560.713657] RIP [<ffffffff8926bb72>] iput+0x152/0x190
[ 2560.714515] RSP <ffff8ff32ababb50>
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.