BTRFS info (device loop0): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf assertion failed: list_empty(&fs_info->delalloc_roots), in fs/btrfs/disk-io.c:4350 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4350! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 5179 Comm: syz-executor413 Not tainted 6.8.0-syzkaller-06619-ge5e038b7ae9d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:close_ctree+0xd9b/0xfa0 fs/btrfs/disk-io.c:4350 Code: e6 fd 90 0f 0b e8 d5 88 05 fe b9 fe 10 00 00 48 c7 c2 a0 d4 55 8b 48 c7 c6 e0 0f 56 8b 48 c7 c7 20 d5 55 8b e8 c6 58 e6 fd 90 <0f> 0b e8 ae 88 05 fe b9 60 10 00 00 48 c7 c2 a0 d4 55 8b 48 c7 c6 RSP: 0018:ffffc9000355faf8 EFLAGS: 00010286 RAX: 0000000000000052 RBX: ffff88802eae4f28 RCX: ffffffff816ddf09 RDX: 0000000000000000 RSI: ffffffff816e66f6 RDI: 0000000000000005 RBP: ffff88802eae4010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801d7ea788 R14: ffff88802eae4000 R15: ffff88801b37e200 FS: 0000000000000000(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563455e51ad8 CR3: 000000002c986000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x159/0x3d0 fs/super.c:641 kill_anon_super+0x3a/0x60 fs/super.c:1225 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2091 deactivate_locked_super+0xbe/0x1a0 fs/super.c:472 deactivate_super+0xde/0x100 fs/super.c:505 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa7d/0x2be0 kernel/exit.c:878 do_group_exit+0xd3/0x2a0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7efc207d18c9 Code: Unable to access opcode bytes at 0x7efc207d189f. RSP: 002b:00007fff7e413848 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007efc207d18c9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007efc208522d0 R08: ffffffffffffffb8 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 00007efc208522d0 R13: 0000000000000000 R14: 00007efc20853040 R15: 00007efc2079fe10 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0xd9b/0xfa0 fs/btrfs/disk-io.c:4350 Code: e6 fd 90 0f 0b e8 d5 88 05 fe b9 fe 10 00 00 48 c7 c2 a0 d4 55 8b 48 c7 c6 e0 0f 56 8b 48 c7 c7 20 d5 55 8b e8 c6 58 e6 fd 90 <0f> 0b e8 ae 88 05 fe b9 60 10 00 00 48 c7 c2 a0 d4 55 8b 48 c7 c6 RSP: 0018:ffffc9000355faf8 EFLAGS: 00010286 RAX: 0000000000000052 RBX: ffff88802eae4f28 RCX: ffffffff816ddf09 RDX: 0000000000000000 RSI: ffffffff816e66f6 RDI: 0000000000000005 RBP: ffff88802eae4010 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801d7ea788 R14: ffff88802eae4000 R15: ffff88801b37e200 FS: 0000000000000000(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563455e51ad8 CR3: 000000002c986000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400