BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): auto enabling async discard BTRFS warning (device loop0): transaction 9 (with 0 dirty metadata bytes) is not committed assertion failed: !found, in fs/btrfs/disk-io.c:4232 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4232! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5031 Comm: syz-executor327 Not tainted 6.4.0-next-20230630-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:warn_about_uncommitted_trans fs/btrfs/disk-io.c:4232 [inline] RIP: 0010:close_ctree+0xd8a/0xf70 fs/btrfs/disk-io.c:4388 Code: 2c fd fd fd 0f 0b e8 d5 54 1a fe b9 88 10 00 00 48 c7 c2 a0 1d b5 8a 48 c7 c6 80 55 b5 8a 48 c7 c7 20 1e b5 8a e8 06 fd fd fd <0f> 0b 48 8b 7c 24 10 e8 3a 86 6d fe e9 f8 fb ff ff 48 8b 7c 24 40 RSP: 0018:ffffc90003b8fb00 EFLAGS: 00010282 RAX: 0000000000000034 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81694e1c RDI: 0000000000000005 RBP: ffff88801b494000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880793a8030 R13: ffffc90003b8fbc0 R14: ffffc90003b8fba0 R15: ffffc90003b8fb80 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3fd8f1000 CR3: 000000002969d000 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+0x3c/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0x98/0x160 fs/super.c:330 deactivate_super+0xb1/0xd0 fs/super.c:361 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1254 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9a/0x29a0 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc570625c09 Code: Unable to access opcode bytes at 0x7fc570625bdf. RSP: 002b:00007fffe5f9e658 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc5706a0330 RCX: 00007fc570625c09 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007fc57069ae40 R10: 00000000000050e9 R11: 0000000000000246 R12: 00007fc5706a0330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:warn_about_uncommitted_trans fs/btrfs/disk-io.c:4232 [inline] RIP: 0010:close_ctree+0xd8a/0xf70 fs/btrfs/disk-io.c:4388 Code: 2c fd fd fd 0f 0b e8 d5 54 1a fe b9 88 10 00 00 48 c7 c2 a0 1d b5 8a 48 c7 c6 80 55 b5 8a 48 c7 c7 20 1e b5 8a e8 06 fd fd fd <0f> 0b 48 8b 7c 24 10 e8 3a 86 6d fe e9 f8 fb ff ff 48 8b 7c 24 40 RSP: 0018:ffffc90003b8fb00 EFLAGS: 00010282 RAX: 0000000000000034 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81694e1c RDI: 0000000000000005 RBP: ffff88801b494000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880793a8030 R13: ffffc90003b8fbc0 R14: ffffc90003b8fba0 R15: ffffc90003b8fb80 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557e93b93668 CR3: 000000002969d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400