assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4599 ------------[ cut here ]------------ kernel BUG at fs/btrfs/messages.c:259! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5032 Comm: syz-executor355 Not tainted 6.4.0-rc5-syzkaller-00313-g4c605260bc60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:btrfs_assertfail+0x2c/0x30 fs/btrfs/messages.c:259 Code: 1f 00 41 55 41 89 d5 41 54 49 89 f4 55 48 89 fd e8 19 eb f7 fd 44 89 e9 4c 89 e2 48 89 ee 48 c7 c7 c0 59 97 8a e8 b4 ce db fd <0f> 0b 66 90 66 0f 1f 00 55 48 89 fd e8 f3 ea f7 fd 48 89 ef 5d 48 RSP: 0018:ffffc900032e7bd8 EFLAGS: 00010286 RAX: 0000000000000051 RBX: ffff8880680d0d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8167dd6c RDI: 0000000000000005 RBP: ffffffff8a94d0e0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a949980 R13: 00000000000011f7 R14: ffff8880680d0000 R15: ffff8880187b9280 FS: 00005555571523c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7fbe8e3000 CR3: 000000007a045000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: close_ctree+0xcee/0xf60 fs/btrfs/disk-io.c:4599 generic_shutdown_super+0x158/0x480 fs/super.c:500 kill_anon_super+0x3a/0x60 fs/super.c:1107 btrfs_kill_super+0x3c/0x50 fs/btrfs/super.c:2138 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:0x7f7fc67dc877 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:00007ffc880bc008 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7fc67dc877 RDX: 00007ffc880bc0ca RSI: 000000000000000a RDI: 00007ffc880bc0c0 RBP: 00007ffc880bc0c0 R08: 00000000ffffffff R09: 00007ffc880bbea0 R10: 0000555557154723 R11: 0000000000000202 R12: 00007ffc880bd130 R13: 00005555571546c0 R14: 00007ffc880bc030 R15: 0000000000000053 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btrfs_assertfail+0x2c/0x30 fs/btrfs/messages.c:259 Code: 1f 00 41 55 41 89 d5 41 54 49 89 f4 55 48 89 fd e8 19 eb f7 fd 44 89 e9 4c 89 e2 48 89 ee 48 c7 c7 c0 59 97 8a e8 b4 ce db fd <0f> 0b 66 90 66 0f 1f 00 55 48 89 fd e8 f3 ea f7 fd 48 89 ef 5d 48 RSP: 0018:ffffc900032e7bd8 EFLAGS: 00010286 RAX: 0000000000000051 RBX: ffff8880680d0d48 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8167dd6c RDI: 0000000000000005 RBP: ffffffff8a94d0e0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff8a949980 R13: 00000000000011f7 R14: ffff8880680d0000 R15: ffff8880187b9280 FS: 00005555571523c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7fc67b1e60 CR3: 000000007a045000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400