------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 7426 at fs/btrfs/block-group.c:4007 do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] WARNING: CPU: 0 PID: 7426 at fs/btrfs/block-group.c:4007 btrfs_chunk_alloc+0xe67/0x1440 fs/btrfs/block-group.c:4248 Modules linked in: CPU: 0 UID: 0 PID: 7426 Comm: syz.6.203 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] RIP: 0010:btrfs_chunk_alloc+0xe67/0x1440 fs/btrfs/block-group.c:4248 Code: 00 e8 3d 9b bc fd 84 c0 74 29 e8 04 5d d6 fd e9 62 01 00 00 e8 fa 5c d6 fd 90 48 c7 c7 40 5f 30 8b 44 89 f6 e8 0a a2 9a fd 90 <0f> 0b 90 90 e9 9a fc ff ff e8 9b 15 d8 06 89 c3 31 ff 89 c6 e8 80 RSP: 0018:ffffc90004ab66f0 EFLAGS: 00010246 RAX: df70f250e9e34800 RBX: ffff888058b58001 RCX: 0000000000080000 RDX: ffffc9001b1b7000 RSI: 0000000000002057 RDI: 0000000000002058 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed101710487b R12: dffffc0000000000 R13: ffff88805d234800 R14: ffffffffffffffe4 R15: ffff88803d95b7e8 FS: 00007fc362c1d6c0(0000) GS:ffff888126df9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005083a000 CR4: 00000000003526f0 Call Trace: find_free_extent_update_loop fs/btrfs/extent-tree.c:4211 [inline] find_free_extent+0x5153/0x5dc0 fs/btrfs/extent-tree.c:4623 btrfs_reserve_extent+0x2ff/0x7e0 fs/btrfs/extent-tree.c:4717 btrfs_alloc_tree_block+0x1ce/0x1220 fs/btrfs/extent-tree.c:5170 btrfs_force_cow_block+0x578/0x2460 fs/btrfs/ctree.c:517 btrfs_cow_block+0x3c4/0xa90 fs/btrfs/ctree.c:708 btrfs_search_slot+0xd29/0x2ce0 fs/btrfs/ctree.c:2106 btrfs_insert_empty_items+0x9c/0x190 fs/btrfs/ctree.c:4293 btrfs_insert_empty_item fs/btrfs/ctree.h:667 [inline] insert_with_overflow+0xfa/0x3d0 fs/btrfs/dir-item.c:34 btrfs_insert_dir_item+0x1df/0x5b0 fs/btrfs/dir-item.c:133 btrfs_add_link+0x21b/0xea0 fs/btrfs/inode.c:6726 btrfs_create_new_inode+0x1118/0x2000 fs/btrfs/inode.c:6664 btrfs_create_common+0x167/0x230 fs/btrfs/inode.c:6790 lookup_open fs/namei.c:3796 [inline] open_last_lookups fs/namei.c:3895 [inline] path_openat+0x1500/0x3840 fs/namei.c:4131 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3649df6c9 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:00007fc362c1d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc364c36090 RCX: 00007fc3649df6c9 RDX: 000000000000275a RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007fc364a61f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc364c36128 R14: 00007fc364c36090 R15: 00007ffc7253eb98