------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/block-group.c:4107 at do_chunk_alloc fs/btrfs/block-group.c:4107 [inline], CPU#1: syz.7.99/6795 WARNING: fs/btrfs/block-group.c:4107 at btrfs_chunk_alloc+0x101d/0x15e0 fs/btrfs/block-group.c:4348, CPU#1: syz.7.99/6795 Modules linked in: CPU: 1 UID: 0 PID: 6795 Comm: syz.7.99 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4107 [inline] RIP: 0010:btrfs_chunk_alloc+0x101f/0x15e0 fs/btrfs/block-group.c:4348 Code: 77 87 b3 fd e9 6d 01 00 00 e8 fd 9b 98 fd 84 c0 74 22 e8 64 87 b3 fd e9 5a 01 00 00 e8 5a 87 b3 fd 48 8d 3d 73 20 09 0c 89 de <67> 48 0f b9 3a e9 b3 fc ff ff e8 e2 dc 9b 07 41 89 c6 31 ff 89 c6 RSP: 0018:ffffc900034e6600 EFLAGS: 00010287 RAX: ffffffff84121b06 RBX: ffffffffffffffe4 RCX: 0000000000080000 RDX: ffffc90012257000 RSI: 00000000ffffffe4 RDI: ffffffff901b3b80 RBP: 0000000000000000 R08: ffff88802f9abc80 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 1ffff1100539e116 R13: ffff888041e719a0 R14: ffff88806d630001 R15: ffff8880570da800 FS: 00007f13ce18e6c0(0000) GS:ffff888125560000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ba3685000 CR3: 000000007ecba000 CR4: 00000000003526f0 Call Trace: find_free_extent_update_loop fs/btrfs/extent-tree.c:4306 [inline] find_free_extent+0x52bf/0x5f60 fs/btrfs/extent-tree.c:4727 btrfs_reserve_extent+0x344/0x830 fs/btrfs/extent-tree.c:4821 cow_one_range fs/btrfs/inode.c:1320 [inline] cow_file_range+0x588/0x1310 fs/btrfs/inode.c:1522 writepage_delalloc+0x1270/0x1ee0 fs/btrfs/extent_io.c:1526 extent_writepage fs/btrfs/extent_io.c:1893 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2580 [inline] btrfs_writepages+0x14df/0x2440 fs/btrfs/extent_io.c:2713 do_writepages+0x32e/0x550 mm/page-writeback.c:2554 filemap_writeback mm/filemap.c:387 [inline] filemap_fdatawrite_range+0x1ef/0x2f0 mm/filemap.c:412 btrfs_fdatawrite_range+0x54/0xf0 fs/btrfs/file.c:3891 btrfs_direct_write+0x5e9/0xb70 fs/btrfs/direct-io.c:987 btrfs_do_write_iter+0x39c/0x880 fs/btrfs/file.c:1458 iter_file_splice_write+0x99b/0x1100 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1161 splice_direct_to_actor+0x53a/0xc70 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0x195/0x290 fs/splice.c:1230 do_sendfile+0x535/0x7d0 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1419 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f13cd39bf79 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:00007f13ce18e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f13cd615fa0 RCX: 00007f13cd39bf79 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f13cd4327e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f13cd616038 R14: 00007f13cd615fa0 R15: 00007ffd3e2821b8 ---------------- Code disassembly (best guess): 0: 77 87 ja 0xffffff89 2: b3 fd mov $0xfd,%bl 4: e9 6d 01 00 00 jmp 0x176 9: e8 fd 9b 98 fd call 0xfd989c0b e: 84 c0 test %al,%al 10: 74 22 je 0x34 12: e8 64 87 b3 fd call 0xfdb3877b 17: e9 5a 01 00 00 jmp 0x176 1c: e8 5a 87 b3 fd call 0xfdb3877b 21: 48 8d 3d 73 20 09 0c lea 0xc092073(%rip),%rdi # 0xc09209b 28: 89 de mov %ebx,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 b3 fc ff ff jmp 0xfffffce7 34: e8 e2 dc 9b 07 call 0x79bdd1b 39: 41 89 c6 mov %eax,%r14d 3c: 31 ff xor %edi,%edi 3e: 89 c6 mov %eax,%esi