Kernel panic in nfs4_evict_inode() after VFS: Busy inodes after unmount

Solution Verified - Updated -

Issue

  • Kernel panics with the following messages:-
-------------------------------------------------------------------------------------------------------
[11092309.169582] VFS: Busy inodes after unmount of 0:615. Self-destruct in 5 seconds.  Have a nice day...
-------------------------------------------------------------------------------------------------------
[11092309.603960] general protection fault, probably for non-canonical address 0x49b44970fd334072: 0000 [#1] SMP PTI
[11092309.604247] CPU: 11 PID: 3775223 Comm: xx.xx.xxx.xxx-m Kdump: loaded Not tainted 4.18.0-553.36.1.el8_10.x86_64 #1
[11092309.604425] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.18227214.B64.2106252220 06/25/2021
[11092309.604586] RIP: 0010:nfs4_evict_inode+0x30/0x70 [nfsv4]
[11092309.604788] Code: 48 89 fb 48 81 c7 78 01 00 00 e8 9b d8 b3 cb 48 89 df e8 53 3d c1 cb 48 89 df e8 0b 1f 00 00 48 8b 43 28 48 8b 80 00 04 00 00 <48> 83 b8 70 01 00 00 00 74 09 48 8b 43 e0 48 85 c0 75 1d 48 8d bb
[11092309.605189] RSP: 0018:ffffbe0c1e5ebdc8 EFLAGS: 00010246
[11092309.605355] RAX: 49b44970fd334072 RBX: ffffa093d752f100 RCX: 0000000000000000
[11092309.605530] RDX: ffffa093d752f230 RSI: ffffffffffffffff RDI: ffffa093d752f100
[11092309.605697] RBP: ffffa093d752f220 R08: 0000000000000000 R09: ffffbe0c1e5ebb78
[11092309.605868] R10: ffffffffffffffff R11: 0000000000000000 R12: ffffffffc0d9ffe0
[11092309.606029] R13: ffffa093d752f100 R14: ffffa093d752f188 R15: ffffa0a7e18f5450
[11092309.606191] FS:  0000000000000000(0000) GS:ffffa0b8d60c0000(0000) knlGS:0000000000000000
[11092309.606365] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11092309.606525] CR2: 000055c4ed7f5918 CR3: 0000000998210004 CR4: 00000000007706e0
[11092309.606713] PKRU: 55555554
[11092309.606875] Call Trace:
[11092309.607035]  ? __die_body+0x1a/0x60
[11092309.607198]  ? die_addr+0x38/0x51
[11092309.607357]  ? do_general_protection+0x135/0x280
[11092309.607524]  ? general_protection+0x1e/0x30
[11092309.607688]  ? nfs4_evict_inode+0x30/0x70 [nfsv4]
[11092309.607876]  ? nfs4_evict_inode+0x25/0x70 [nfsv4]
[11092309.608057]  evict+0xd2/0x1a0
[11092309.608202]  nfs4_put_open_state+0xcb/0x100 [nfsv4]
[11092309.608354]  nfs4_do_reclaim+0x399/0x820 [nfsv4]
[11092309.608501]  ? nfs4_state_manager+0x860/0x860 [nfsv4]
[11092309.608644]  nfs4_state_manager+0xda/0x860 [nfsv4]
[11092309.608814]  ? nfs4_state_manager+0x860/0x860 [nfsv4]
[11092309.608972]  nfs4_run_state_manager+0x20/0x40 [nfsv4]
[11092309.609133]  kthread+0x134/0x150
[11092309.609281]  ? set_kthread_struct+0x50/0x50
[11092309.609439]  ret_from_fork+0x1f/0x40

Environment

  • Red Hat Enterprise Linux 8
  • NFS

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