BTRFS info (device loop0): enabling ssd optimizations BTRFS warning (device loop0): transaction 9 (with 0 dirty metadata bytes) is not committed assertion failed: !found, in fs/btrfs/disk-io.c:4550 ------------[ cut here ]------------ kernel BUG at fs/btrfs/ctree.h:3719! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4308 Comm: syz-executor374 Not tainted 6.1.19-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : assertfail+0x28/0x2c fs/btrfs/ctree.h:3718 lr : assertfail+0x28/0x2c fs/btrfs/ctree.h:3718 sp : ffff80001dd177b0 x29: ffff80001dd177b0 x28: ffff0000d7f86028 x27: dfff800000000000 x26: ffff0000d7f86000 x25: 1ffff00003ba2f0c x24: ffff80001dd17880 x23: ffff80001dd17860 x22: 1ffff00003ba2f10 x21: ffff0000d7c28ce8 x20: ffff80001dd17840 x19: ffff0000d7c28000 x18: ffff80001dd17180 x17: 0000000000000000 x16: ffff800012253e1c x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff8080000834cb14 x10: 0000000000000000 x9 : 235a361e1c9a1700 x8 : 235a361e1c9a1700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001dd170b8 x4 : ffff800015813880 x3 : ffff80000ab36c2c x2 : ffff0001b45a1cd0 x1 : 0000000100000000 x0 : 0000000000000034 Call trace: assertfail+0x28/0x2c fs/btrfs/ctree.h:3718 warn_about_uncommitted_trans fs/btrfs/disk-io.c:4550 [inline] close_ctree+0xa38/0xad8 fs/btrfs/disk-io.c:4706 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:394 generic_shutdown_super+0x130/0x328 fs/super.c:492 kill_anon_super+0x4c/0x74 fs/super.c:1099 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2441 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x554/0x1a88 kernel/exit.c:869 do_group_exit+0x194/0x22c kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1028 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: 91198000 b0002b22 912a0042 97fff921 (d4210000) ---[ end trace 0000000000000000 ]---