assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4344
------------[ cut here ]------------
kernel BUG at fs/btrfs/disk-io.c:4344!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5130 Comm: syz-executor279 Not tainted 6.7.0-rc7-syzkaller-00051-g2639772a11c8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:close_ctree+0xd6f/0xf90 fs/btrfs/disk-io.c:4344
Code: e9 b0 fb ff ff e8 21 94 0f fe b9 f8 10 00 00 48 c7 c2 00 78 16 8b 48 c7 c6 c0 b2 16 8b 48 c7 c7 80 78 16 8b e8 f2 70 f2 fd 90 <0f> 0b e8 fa 93 0f fe b9 01 11 00 00 48 c7 c2 00 78 16 8b 48 c7 c6
RSP: 0018:ffffc9000489fbf8 EFLAGS: 00010286
RAX: 0000000000000051 RBX: ffff88802555cd50 RCX: ffffffff816a65d9
RDX: 0000000000000000 RSI: ffffffff816aea82 RDI: 0000000000000005
RBP: ffff88802555c010 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000087e48 R12: 0000000000000000
R13: ffff88807ef2e758 R14: ffff88802555c000 R15: ffff888028ba30c0
FS:  0000555556d08480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f70cccfe028 CR3: 000000007b391000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 generic_shutdown_super+0x161/0x3d0 fs/super.c:696
 kill_anon_super+0x3a/0x60 fs/super.c:1295
 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2100
 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484
 deactivate_super+0xde/0x100 fs/super.c:517
 cleanup_mnt+0x222/0x450 fs/namespace.c:1256
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 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+0x217/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296
 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa5542e8297
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:00007ffd307c3ec8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 000000000017b45d RCX: 00007fa5542e8297
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffd307c3f80
RBP: 00007ffd307c3f80 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffd307c4ff0
R13: 0000555556d097c0 R14: 431bde82d7b634db R15: 00007ffd307c5010
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:close_ctree+0xd6f/0xf90 fs/btrfs/disk-io.c:4344
Code: e9 b0 fb ff ff e8 21 94 0f fe b9 f8 10 00 00 48 c7 c2 00 78 16 8b 48 c7 c6 c0 b2 16 8b 48 c7 c7 80 78 16 8b e8 f2 70 f2 fd 90 <0f> 0b e8 fa 93 0f fe b9 01 11 00 00 48 c7 c2 00 78 16 8b 48 c7 c6
RSP: 0018:ffffc9000489fbf8 EFLAGS: 00010286
RAX: 0000000000000051 RBX: ffff88802555cd50 RCX: ffffffff816a65d9
RDX: 0000000000000000 RSI: ffffffff816aea82 RDI: 0000000000000005
RBP: ffff88802555c010 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000087e48 R12: 0000000000000000
R13: ffff88807ef2e758 R14: ffff88802555c000 R15: ffff888028ba30c0
FS:  0000555556d08480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd178a5e5c CR3: 000000007b391000 CR4: 0000000000350ef0