loop0: detected capacity change from 0 to 32768 BTRFS: device fsid a6a605fc-d5f1-4e66-8595-3726e2b761d6 devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5320) BTRFS info (device loop0 state S): first mount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6 BTRFS info (device loop0 state S): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop0 state S): using free-space-tree workqueue: max_active 2097158 requested for btrfs-worker is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-delalloc is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-endio is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-endio-meta is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-rmw is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-endio-write is out of range, clamping between 1 and 2048 workqueue: max_active 2097158 requested for btrfs-compressed-write is out of range, clamping between 1 and 2048 BTRFS info (device loop0 state CS): last unmount of filesystem a6a605fc-d5f1-4e66-8595-3726e2b761d6 BTRFS warning (device loop0 state CS): transaction 9 (with 12288 dirty metadata bytes) is not committed assertion failed: !found, in fs/btrfs/disk-io.c:4268 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4268! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted 6.14.0-rc1-syzkaller-00276-g69b54314c975 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:warn_about_uncommitted_trans fs/btrfs/disk-io.c:4268 [inline] RIP: 0010:close_ctree+0xd8a/0xd90 fs/btrfs/disk-io.c:4445 Code: e8 8b 6c ce 0a e8 c6 e3 97 00 48 c7 c7 80 f7 4b 8c 48 c7 c6 20 44 4c 8c 48 c7 c2 00 f8 4b 8c b9 ac 10 00 00 e8 97 98 ff ff 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d347b60 EFLAGS: 00010246 RAX: 0000000000000034 RBX: 1ffff92001a68f84 RCX: 1fdde8822023fb00 RDX: ffffc9000e9ba000 RSI: 0000000000021bbf RDI: 0000000000021bc0 RBP: ffffc9000d347d00 R08: ffffffff819f053c R09: 1ffff92001a68f08 R10: dffffc0000000000 R11: fffff52001a68f09 R12: ffff888052937028 R13: ffff888052937000 R14: ffff888043314000 R15: ffff888043314cc8 FS: 00007f617737d6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d593339fa0 CR3: 0000000043a8a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x139/0x2d0 fs/super.c:642 kill_anon_super+0x3b/0x70 fs/super.c:1237 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2100 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1413 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f617658e58a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f617737ce68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007f617737cef0 RCX: 00007f617658e58a RDX: 0000400000000080 RSI: 0000400000000040 RDI: 00007f617737ceb0 RBP: 0000400000000080 R08: 00007f617737cef0 R09: 000000000001c005 R10: 000000000001c005 R11: 0000000000000246 R12: 0000400000000040 R13: 00007f617737ceb0 R14: 000000000000559f R15: 0000400000002340 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:warn_about_uncommitted_trans fs/btrfs/disk-io.c:4268 [inline] RIP: 0010:close_ctree+0xd8a/0xd90 fs/btrfs/disk-io.c:4445 Code: e8 8b 6c ce 0a e8 c6 e3 97 00 48 c7 c7 80 f7 4b 8c 48 c7 c6 20 44 4c 8c 48 c7 c2 00 f8 4b 8c b9 ac 10 00 00 e8 97 98 ff ff 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d347b60 EFLAGS: 00010246 RAX: 0000000000000034 RBX: 1ffff92001a68f84 RCX: 1fdde8822023fb00 RDX: ffffc9000e9ba000 RSI: 0000000000021bbf RDI: 0000000000021bc0 RBP: ffffc9000d347d00 R08: ffffffff819f053c R09: 1ffff92001a68f08 R10: dffffc0000000000 R11: fffff52001a68f09 R12: ffff888052937028 R13: ffff888052937000 R14: ffff888043314000 R15: ffff888043314cc8 FS: 00007f617737d6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055691cf0e078 CR3: 0000000043a8a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400