------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 8771 at fs/btrfs/block-group.c:3990 do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] WARNING: CPU: 0 PID: 8771 at fs/btrfs/block-group.c:3990 btrfs_chunk_alloc+0xf4d/0x1150 fs/btrfs/block-group.c:4231 Modules linked in: CPU: 0 UID: 0 PID: 8771 Comm: syz.6.348 Not tainted 6.16.0-rc4-syzkaller-00123-g4c06e63b9203 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3990 [inline] RIP: 0010:btrfs_chunk_alloc+0xf4d/0x1150 fs/btrfs/block-group.c:4231 Code: 48 c7 c6 40 a1 cf 8b 44 89 f2 e8 4e 3a 44 fd e9 b5 fc ff ff e8 d4 74 da fd 90 48 c7 c7 e0 a0 cf 8b 44 89 f6 e8 84 1d 9e fd 90 <0f> 0b 90 90 e9 96 fc ff ff e8 b5 74 da fd eb 05 e8 ae 74 da fd 48 RSP: 0018:ffffc9000b8e6ef0 EFLAGS: 00010246 RAX: 1ee68623d37ce100 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000c0c9000 RSI: 0000000000003760 RDI: 0000000000003761 RBP: 00000000ffffff01 R08: ffffc9000b8e6c07 R09: 1ffff9200171cd80 R10: dffffc0000000000 R11: fffff5200171cd81 R12: ffff888053ada000 R13: ffff88805bb00000 R14: ffffffffffffffe4 R15: ffff88805d684000 FS: 00007fc55e5686c0(0000) GS:ffff888125c51000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c177f1000 CR3: 000000002a15a000 CR4: 00000000003526f0 Call Trace: find_free_extent_update_loop fs/btrfs/extent-tree.c:4193 [inline] find_free_extent+0x4bb2/0x5810 fs/btrfs/extent-tree.c:4618 btrfs_reserve_extent+0x2fd/0x670 fs/btrfs/extent-tree.c:4712 btrfs_alloc_tree_block+0x1e7/0x12b0 fs/btrfs/extent-tree.c:5165 btrfs_force_cow_block+0x575/0x1e10 fs/btrfs/ctree.c:506 btrfs_cow_block+0x40a/0x830 fs/btrfs/ctree.c:688 btrfs_search_slot+0xcd7/0x2d90 fs/btrfs/ctree.c:2088 btrfs_insert_empty_items+0x9c/0x190 fs/btrfs/ctree.c:4287 btrfs_create_new_inode+0xb26/0x19f0 fs/btrfs/inode.c:6515 btrfs_create_common+0x167/0x230 fs/btrfs/inode.c:6750 btrfs_mkdir+0xc7/0xf0 fs/btrfs/inode.c:6888 vfs_mkdir+0x306/0x510 fs/namei.c:4375 do_mkdirat+0x247/0x590 fs/namei.c:4408 __do_sys_mkdirat fs/namei.c:4425 [inline] __se_sys_mkdirat fs/namei.c:4423 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4423 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc55d78e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fc55e568038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fc55d9b6080 RCX: 00007fc55d78e929 RDX: 0000000000000000 RSI: 0000200000000340 RDI: 0000000000000003 RBP: 00007fc55d810b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc55d9b6080 R15: 00007ffd2efefef8