VFS: Busy inodes after unmount of loop0 (btrfs) ------------[ cut here ]------------ kernel BUG at fs/super.c:502! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4990 Comm: syz-executor840 Not tainted 6.3.0-syzkaller-12049-g58390c8ce1bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:generic_shutdown_super+0x3bb/0x480 fs/super.c:502 Code: 6b 28 48 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 c4 00 00 00 48 8b 55 00 48 8d b3 a8 06 00 00 48 c7 c7 60 ce 5b 8a e8 b5 92 81 ff <0f> 0b e8 ee 7a f0 ff e9 6a fc ff ff e8 e4 7a f0 ff e9 f1 fd ff ff RSP: 0018:ffffc90003aefd80 EFLAGS: 00010286 RAX: 000000000000002f RBX: ffff8880796de000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168cf6c RDI: 0000000000000005 RBP: ffffffff8ce8d840 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880796de7d8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026cc8040 FS: 00005555565ba300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565c3628 CR3: 00000000208f4000 CR4: 0000000000350ef0 Call Trace: kill_anon_super+0x3a/0x60 fs/super.c:1107 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2134 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f69d738fdf7 Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd2f347af8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000009870 RCX: 00007f69d738fdf7 RDX: 00007ffd2f347bb7 RSI: 000000000000000a RDI: 00007ffd2f347bb0 RBP: 00007ffd2f347bb0 R08: 00000000ffffffff R09: 00007ffd2f347990 R10: 00005555565bb633 R11: 0000000000000202 R12: 00007ffd2f348c20 R13: 00005555565bb5f0 R14: 00007ffd2f347b20 R15: 0000000000000003 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:generic_shutdown_super+0x3bb/0x480 fs/super.c:502 Code: 6b 28 48 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 c4 00 00 00 48 8b 55 00 48 8d b3 a8 06 00 00 48 c7 c7 60 ce 5b 8a e8 b5 92 81 ff <0f> 0b e8 ee 7a f0 ff e9 6a fc ff ff e8 e4 7a f0 ff e9 f1 fd ff ff RSP: 0018:ffffc90003aefd80 EFLAGS: 00010286 RAX: 000000000000002f RBX: ffff8880796de000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168cf6c RDI: 0000000000000005 RBP: ffffffff8ce8d840 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880796de7d8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888026cc8040 FS: 00005555565ba300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565c3628 CR3: 00000000208f4000 CR4: 0000000000350ef0