The kernel crashes in iput() with a message "kernel BUG at fs/inode.c:1535!"

Solution Unverified - Updated -

Issue

  • The kernel crashes in iput() with a message "kernel BUG at fs/inode.c:1535!"
[86234.074189] ------------[ cut here ]------------
[86234.074215] kernel BUG at fs/inode.c:1535!
[86234.074231] invalid opcode: 0000 [#1] SMP 
[86234.074250] Modules linked in: macsec mvfs(OE) ip6table_filter ip6_tables vsock_diag unix_diag af_packet_diag netlink_diag udp_diag vxglm(POE) gab(POE) mmfs26(OE) mmfslinux(OE) tracedev(OE) llt(POE) rpcrdma ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp scsi_tgt ib_ipoib rdma_ucm ib_uverbs ib_umad rdma_cm iw_cm ib_cm ib_core nfsv3 nfs_acl rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache tcp_diag inet_diag amf(POE) vmw_vsock_vmci_transport iptable_nat vsock nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c xt_comment iptable_filter veki(POE) ppdev vmw_balloon sb_edac iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr joydev nfit sg libnvdimm i2c_piix4
[86234.074582]  vmw_vmci parport_pc parport binfmt_misc auth_rpcgss sunrpc ip_tables ext4 mbcache jbd2 sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod [last unloaded: vxdmp]
[86234.074742] CPU: 9 PID: 11328 Comm: node_exporter Kdump: loaded Tainted: P           OE  ------------   3.10.0-1062.18.1.el7.x86_64 #1
[86234.074781] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[86234.074816] task: ffff925f08b08000 ti: ffff925e9f270000 task.ti: ffff925e9f270000
[86234.074840] RIP: 0010:[<ffffffffb9268c82>]  [<ffffffffb9268c82>] iput+0x152/0x190
[86234.074870] RSP: 0018:ffff925e9f2739d0  EFLAGS: 00010202
[86234.074889] RAX: 0000000000000000 RBX: ffff925e882583c0 RCX: dead000000000200
[86234.074913] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff925e882583c0
[86234.074936] RBP: ffff925e9f2739f0 R08: ffff9253eb860510 R09: 0000000000028388
[86234.074960] R10: ffff925f4f45f1a0 R11: ffffe01d5efc1000 R12: ffff925e882583c0
[86234.074983] R13: ffff9253eb8604d8 R14: ffff925e882583c0 R15: ffff925e9f273c60
[86234.075008] FS:  000000c000148790(0000) GS:ffff925f4f440000(0000) knlGS:0000000000000000
[86234.076077] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[86234.077074] CR2: 00007f1600229000 CR3: 0000000beaba4000 CR4: 00000000003607e0
[86234.078178] Call Trace:
[86234.079148]  [<ffffffffb9263918>] __dentry_kill+0x128/0x190
[86234.080123]  [<ffffffffb9263a36>] dput+0xb6/0x1a0
[86234.081073]  [<ffffffffb925599f>] lookup_real+0x4f/0x60
[86234.082013]  [<ffffffffb9256392>] __lookup_hash+0x42/0x60
[86234.082891]  [<ffffffffb9778067>] lookup_slow+0x42/0xa7
[86234.083808]  [<ffffffffb925aedf>] link_path_walk+0x80f/0x8b0
[86234.084717]  [<ffffffffb925b0ea>] path_lookupat+0x7a/0x8b0
[86234.085622]  [<ffffffffb913d9cc>] ? audit_alloc_name+0x9c/0x160
[86234.086529]  [<ffffffffb925b94b>] filename_lookup+0x2b/0xc0
[86234.087412]  [<ffffffffb925d5aa>] vfs_path_lookup+0x6a/0xc0
[86234.088291]  [<ffffffffc0f00711>] ? mdki_linux_kmalloc+0x2f/0x31 [mvfs]
[86234.089163]  [<ffffffffc0efbe64>] mvop_linux_lookup_storage_file+0x9c/0x130 [mvfs]
[86234.090040]  [<ffffffffc0eaadcf>] mvfs_vstatfs_common+0x166/0x1ab [mvfs]
[86234.090933]  [<ffffffffc0ef1ae9>] mvfs_linux_vstatfs_wrapper+0x3d/0x7a [mvfs]
[86234.091792]  [<ffffffffc0efdec9>] vnlayer_linux_statfs+0x2c/0x59 [mvfs]
[86234.092645]  [<ffffffffb9280fa7>] statfs_by_dentry+0xa7/0x140
[86234.093487]  [<ffffffffb928105b>] vfs_statfs+0x1b/0xc0
[86234.094393]  [<ffffffffb9281335>] user_statfs+0x55/0xa0
[86234.095204]  [<ffffffffb92813a7>] SYSC_statfs+0x27/0x60
[86234.095958]  [<ffffffffb92815ae>] SyS_statfs+0xe/0x10
[86234.096787]  [<ffffffffb978dede>] system_call_fastpath+0x25/0x2a
[86234.097613] 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 34 5d a9 b9 e8 4b 2f e3 ff e9 fb 
[86234.099437] RIP  [<ffffffffb9268c82>] iput+0x152/0x190
[86234.100226]  RSP <ffff925e9f2739d0>

Environment

  • Red Hat Enterprise Linux 7.7 (kernel-3.10.0-1062.18.1.el7)
  • 3rd party modules, mmfslinux, mmfs26, and mvfs are involved

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