------------[ cut here ]------------ WARNING: CPU: 1 PID: 19969 at fs/btrfs/block-group.c:3715 do_chunk_alloc fs/btrfs/block-group.c:3715 [inline] WARNING: CPU: 1 PID: 19969 at fs/btrfs/block-group.c:3715 btrfs_chunk_alloc+0xd8c/0x1020 fs/btrfs/block-group.c:3957 Modules linked in: CPU: 1 PID: 19969 Comm: syz.0.3766 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3715 [inline] RIP: 0010:btrfs_chunk_alloc+0xd8c/0x1020 fs/btrfs/block-group.c:3957 Code: c7 00 9e d1 8a 89 ee e8 d2 54 c1 fd 0f 0b 4c 8b 34 24 e9 a5 fe ff ff e8 b2 e4 f5 fd 48 c7 c7 00 9e d1 8a 89 de e8 b4 54 c1 fd <0f> 0b e9 c3 fe ff ff e8 98 e4 f5 fd 48 c7 c7 00 9e d1 8a 89 ee e8 RSP: 0018:ffffc90003c87438 EFLAGS: 00010246 RAX: ba8691bbd4894800 RBX: ffffffffffffffe4 RCX: 0000000000080000 RDX: ffffc9001863d000 RSI: 000000000001cc60 RDI: 000000000001cc61 RBP: 0000000000000000 R08: ffff8880b8f279db R09: 1ffff110171e4f3b R10: dffffc0000000000 R11: ffffed10171e4f3c R12: ffff888063da1000 R13: dffffc0000000000 R14: ffff88807b110820 R15: ffff888054844738 FS: 00007f1665e1c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6a25a132c4 CR3: 00000000282ab000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_free_extent_update_loop fs/btrfs/extent-tree.c:4140 [inline] find_free_extent+0x493e/0x5770 fs/btrfs/extent-tree.c:4528 btrfs_reserve_extent+0x329/0x6e0 fs/btrfs/extent-tree.c:4621 __btrfs_prealloc_file_range+0x32d/0xd00 fs/btrfs/inode.c:10138 btrfs_prealloc_file_range+0x3c/0x50 fs/btrfs/inode.c:10232 btrfs_fallocate+0x12f6/0x1b80 fs/btrfs/file.c:3216 vfs_fallocate+0x584/0x6f0 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:352 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1664f9bf79 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1665e1c028 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f1665216090 RCX: 00007f1664f9bf79 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f16650327e0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000010fff9 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1665216128 R14: 00007f1665216090 R15: 00007ffcd854d328