System crash due to kernel BUG at include/linux/fs.h with RIP __fput

Solution Verified - Updated -

Issue

  • Kernel panics with the following messages:-
[9397251.848860] ------------[ cut here ]------------
[9397251.848866] kernel BUG at include/linux/fs.h:2896!
[9397251.853448] invalid opcode: 0000 [#1] SMP PTI
[9397251.855788] CPU: 24 PID: 2990953 Comm: kworker/24:1 Kdump: loaded Tainted: G        W        --------- -  - 4.18.0-477.13.1.el8_8.x86_64 #1
[9397251.859690] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
[9397251.862067] Workqueue: events delayed_fput
[9397251.864715] RIP: 0010:__fput+0x249/0x250
[9397251.866296] Code: 0f 84 ac fe ff ff 41 f7 c4 00 40 00 00 0f 85 9f fe ff ff e8 49 38 00 00 e9 95 fe ff ff 4c 89 f7 e8 cc 50 02 00 e9 d3 fe ff ff <0f> 0b 0f 1f 44 00 00 0f 1f 44 00 00 53 31 ff 48 87 3d 89 7a 58 02
[9397251.870436] RSP: 0018:ffffbe4c99287e48 EFLAGS: 00010246
[9397251.871852] RAX: 0000000000000000 RBX: ffff9773969e7100 RCX: 0000000000000000
[9397251.874781] RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000
[9397251.877197] RBP: 0000000000000010 R08: ffffbe4c99287d78 R09: ffff97a43c9c8cd0
[9397251.879600] R10: 0000000000000001 R11: 000000000000000f R12: 00000000480a821d
[9397251.882216] R13: ffff978971f77c60 R14: ffff977397e13c20 R15: ffff978945b81140
[9397251.884427] FS:  0000000000000000(0000) GS:ffff97b1be400000(0000) knlGS:0000000000000000
[9397251.886865] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[9397251.889867] CR2: 00007fe81234d080 CR3: 00000015c0a10005 CR4: 00000000007706e0
[9397251.892063] PKRU: 55555554
[9397251.893926] Call Trace:
[9397251.895291]  delayed_fput+0x1c/0x30
[9397251.896182]  process_one_work+0x1a7/0x360
[9397251.897366]  worker_thread+0x30/0x390
[9397251.898625]  ? create_worker+0x1a0/0x1a0
[9397251.900135]  kthread+0x134/0x150
[9397251.901568]  ? set_kthread_struct+0x50/0x50
[9397251.902893]  ret_from_fork+0x1f/0x40
[9397251.904182] Modules linked in: tcp_diag udp_diag inet_diag rpcsec_gss_krb5 xt_CHECKSUM ipt_MASQUERADE nft_chain_nat nf_nat bridge stp llc nft_counter ipt_REJECT nf_reject_ipv4 xt_multiport xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 vsock_loopback vmw_vsock_virtio_transport_common nft_compat nf_tables nfnetlink vmw_vsock_vmci_transport vsock intel_rapl_msr intel_rapl_common isst_if_mbox_msr isst_if_common nfit libnvdimm crct10dif_pclmul crc32_pclmul vmw_balloon ghash_clmulni_intel rapl joydev pcspkr vmw_vmci i2c_piix4 nfsd auth_rpcgss nfs_acl lockd grace binfmt_misc sunrpc xfs libcrc32c sr_mod sd_mod cdrom t10_pi sg ata_generic vmwgfx drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops crc32c_intel drm ata_piix libata serio_raw vmxnet3 vmw_pvscsi dm_mirror dm_region_hash dm_log dm_mod fuse

Environment

  • Red Hat Enterprise Linux 8

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