assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4371 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4371! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5044 Comm: syz-executor190 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:close_ctree+0x8ce/0xd00 fs/btrfs/disk-io.c:4371 Code: f7 e9 62 f9 ff ff e8 31 c1 d0 f6 48 c7 c7 20 0b 4a 8b 48 c7 c6 00 3a 4a 8b 48 c7 c2 a0 0b 4a 8b b9 13 11 00 00 e8 a2 99 ff ff <0f> 0b e8 0b c1 d0 f6 48 c7 c7 20 0b 4a 8b 48 c7 c6 a0 3a 4a 8b 48 RSP: 0018:ffffc90003ccfb40 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff888023758d48 RCX: 4d576542046f3100 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003ccfcd8 R08: ffffffff816f0d3c R09: 1ffff92000799f1c R10: dffffc0000000000 R11: fffff52000799f1d R12: ffff888023758fb0 R13: ffff888023758000 R14: 1ffff110046eb25e R15: 0000000000000000 FS: 000055555581b380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564b41fb2000 CR3: 0000000022ebb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x134/0x340 fs/super.c:499 kill_anon_super+0x3b/0x60 fs/super.c:1110 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0xa4/0x110 fs/super.c:330 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f86f5c58487 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:00007ffdea705298 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000086c2b RCX: 00007f86f5c58487 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdea705350 RBP: 00007ffdea705350 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffdea7063c0 R13: 000055555581c6c0 R14: 431bde82d7b634db R15: 00007ffdea7063e0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0x8ce/0xd00 fs/btrfs/disk-io.c:4371 Code: f7 e9 62 f9 ff ff e8 31 c1 d0 f6 48 c7 c7 20 0b 4a 8b 48 c7 c6 00 3a 4a 8b 48 c7 c2 a0 0b 4a 8b b9 13 11 00 00 e8 a2 99 ff ff <0f> 0b e8 0b c1 d0 f6 48 c7 c7 20 0b 4a 8b 48 c7 c6 a0 3a 4a 8b 48 RSP: 0018:ffffc90003ccfb40 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff888023758d48 RCX: 4d576542046f3100 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003ccfcd8 R08: ffffffff816f0d3c R09: 1ffff92000799f1c R10: dffffc0000000000 R11: fffff52000799f1d R12: ffff888023758fb0 R13: ffff888023758000 R14: 1ffff110046eb25e R15: 0000000000000000 FS: 000055555581b380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564b41f6ae08 CR3: 0000000022ebb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400