VFS: Busy inodes after unmount of loop1 (btrfs) ------------[ cut here ]------------ kernel BUG at fs/super.c:502! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5008 Comm: syz-executor320 Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #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:ffffc90003a1fd80 EFLAGS: 00010286 RAX: 000000000000002f RBX: ffff88802b2c6000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168d00c RDI: 0000000000000005 RBP: ffffffff8ce8d840 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff88802b2c67d8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888141e5ef40 FS: 000055555723f300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb15dd0a000 CR3: 000000002a0dd000 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:0x7fb165d26b07 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd11f15f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb165d26b07 RDX: 00007ffd11f1604a RSI: 000000000000000a RDI: 00007ffd11f16040 RBP: 00007ffd11f16040 R08: 00000000ffffffff R09: 00007ffd11f15e20 R10: 0000555557240653 R11: 0000000000000206 R12: 00007ffd11f17100 R13: 00005555572405f0 R14: 00007ffd11f15fb0 R15: 00007ffd11f17120 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:ffffc90003a1fd80 EFLAGS: 00010286 RAX: 000000000000002f RBX: ffff88802b2c6000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168d00c RDI: 0000000000000005 RBP: ffffffff8ce8d840 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff88802b2c67d8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888141e5ef40 FS: 000055555723f300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020140000 CR3: 000000002a0dd000 CR4: 0000000000350ee0