assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4360 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4360! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5032 Comm: syz-executor411 Not tainted 6.5.0-rc1-next-20230714-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:close_ctree+0xbc7/0xdd0 fs/btrfs/disk-io.c:4360 Code: fd e9 51 f7 ff ff e8 68 86 14 fe b9 08 11 00 00 48 c7 c2 a0 af b5 8a 48 c7 c6 20 e9 b5 8a 48 c7 c7 20 b0 b5 8a e8 49 d8 f7 fd <0f> 0b e8 42 86 14 fe b9 11 11 00 00 48 c7 c2 a0 af b5 8a 48 c7 c6 RSP: 0018:ffffc90003b0fbe0 EFLAGS: 00010286 RAX: 0000000000000051 RBX: ffff88807a0e8d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816a8cc0 RDI: 0000000000000005 RBP: ffff88807a0e8010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807a0e8000 R15: ffff88801b4e8c40 FS: 0000555557163380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555716c6f8 CR3: 000000007dc7c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x158/0x480 fs/super.c:499 kill_anon_super+0x3a/0x60 fs/super.c:1110 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2144 deactivate_locked_super+0x9a/0x170 fs/super.c:330 deactivate_super+0xde/0x100 fs/super.c:361 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 ptrace_notify+0x10c/0x130 kernel/signal.c:2383 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:252 [inline] syscall_exit_to_user_mode_prepare+0x120/0x220 kernel/entry/common.c:279 __syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline] syscall_exit_to_user_mode+0xd/0x50 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5798ec2487 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:00007ffee2184d58 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000002d00a RCX: 00007f5798ec2487 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffee2184e10 RBP: 00007ffee2184e10 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffee2185e80 R13: 00005555571646c0 R14: 431bde82d7b634db R15: 00007ffee2185ea0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0xbc7/0xdd0 fs/btrfs/disk-io.c:4360 Code: fd e9 51 f7 ff ff e8 68 86 14 fe b9 08 11 00 00 48 c7 c2 a0 af b5 8a 48 c7 c6 20 e9 b5 8a 48 c7 c7 20 b0 b5 8a e8 49 d8 f7 fd <0f> 0b e8 42 86 14 fe b9 11 11 00 00 48 c7 c2 a0 af b5 8a 48 c7 c6 RSP: 0018:ffffc90003b0fbe0 EFLAGS: 00010286 RAX: 0000000000000051 RBX: ffff88807a0e8d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816a8cc0 RDI: 0000000000000005 RBP: ffff88807a0e8010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88807a0e8000 R15: ffff88801b4e8c40 FS: 0000555557163380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560b3b7778a8 CR3: 000000007dc7c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400