VFS: Busy inodes after unmount of loop0 (btrfs) ------------[ cut here ]------------ kernel BUG at fs/super.c:697! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5028 Comm: syz-executor314 Not tainted 6.5.0-syzkaller-11329-g708283abf896 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:generic_shutdown_super+0x2bc/0x2c0 fs/super.c:695 Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 16 b7 ef ff 48 8b 13 48 c7 c7 20 77 17 8b 4c 89 e6 e8 34 d3 cd 08 <0f> 0b 66 90 66 0f 1f 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 RSP: 0018:ffffc90003df7c28 EFLAGS: 00010246 RAX: 000000000000002f RBX: ffffffff8d847640 RCX: 8fbdece34c75d100 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 1ffff1100ed760f1 R08: ffffffff8170a5ec R09: 1ffff920007bef38 R10: dffffc0000000000 R11: fffff520007bef39 R12: ffff888076bb0658 R13: dffffc0000000000 R14: ffffffff8b4a57d8 R15: ffff888076bb0788 FS: 0000555556a41380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556a4a6f8 CR3: 0000000020e02000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kill_anon_super+0x3b/0x70 fs/super.c:1292 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2144 deactivate_locked_super+0xa4/0x110 fs/super.c:481 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254 task_work_run+0x24a/0x300 kernel/task_work.c:179 ptrace_notify+0x2cd/0x380 kernel/signal.c:2387 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work kernel/entry/common.c:251 [inline] syscall_exit_to_user_mode_prepare kernel/entry/common.c:278 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x15c/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f01942f6607 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 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffdb004de98 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000000d95c RCX: 00007f01942f6607 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdb004df50 RBP: 00007ffdb004df50 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffdb004efc0 R13: 0000555556a426c0 R14: 431bde82d7b634db R15: 00007ffdb004efe0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:generic_shutdown_super+0x2bc/0x2c0 fs/super.c:695 Code: 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 16 b7 ef ff 48 8b 13 48 c7 c7 20 77 17 8b 4c 89 e6 e8 34 d3 cd 08 <0f> 0b 66 90 66 0f 1f 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 RSP: 0018:ffffc90003df7c28 EFLAGS: 00010246 RAX: 000000000000002f RBX: ffffffff8d847640 RCX: 8fbdece34c75d100 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 1ffff1100ed760f1 R08: ffffffff8170a5ec R09: 1ffff920007bef38 R10: dffffc0000000000 R11: fffff520007bef39 R12: ffff888076bb0658 R13: dffffc0000000000 R14: ffffffff8b4a57d8 R15: ffff888076bb0788 FS: 0000555556a41380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556a4a6f8 CR3: 0000000020e02000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400