------------[ cut here ]------------ WARNING: CPU: 0 PID: 5321 at fs/btrfs/extent-tree.c:843 lookup_inline_extent_backref+0x11b0/0x1660 fs/btrfs/extent-tree.c:843 Modules linked in: CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller-00044-gc1e939a21eb1 #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:lookup_inline_extent_backref+0x11b0/0x1660 fs/btrfs/extent-tree.c:843 Code: 00 48 3b 84 24 80 01 00 00 0f 85 88 04 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 41 bd e2 fd 90 <0f> 0b 90 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 4c 8b 6c 24 48 74 08 RSP: 0018:ffffc9000d176aa0 EFLAGS: 00010293 RAX: ffffffff83b21cdf RBX: 0000000000000000 RCX: ffff888000c02440 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d176c70 R08: ffffffff83b20f99 R09: 1ffffd4000278850 R10: dffffc0000000000 R11: fffff94000278851 R12: dffffc0000000000 R13: ffff88801bbca000 R14: ffff888041e3d8f0 R15: ffffc9000d176be0 FS: 00007f6516c066c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020078000 CR3: 00000000429e4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_inline_extent_backref+0xd9/0x2b0 fs/btrfs/extent-tree.c:1193 __btrfs_inc_extent_ref+0x262/0x790 fs/btrfs/extent-tree.c:1491 run_delayed_data_ref fs/btrfs/extent-tree.c:1585 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1770 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2031 [inline] __btrfs_run_delayed_refs+0x1162/0x4680 fs/btrfs/extent-tree.c:2101 btrfs_run_delayed_refs+0xe3/0x2c0 fs/btrfs/extent-tree.c:2213 btrfs_start_dirty_block_groups+0xcaf/0x10e0 fs/btrfs/block-group.c:3488 btrfs_commit_transaction+0x6b6/0x3740 fs/btrfs/transaction.c:2227 btrfs_sync_file+0xdf5/0x1230 fs/btrfs/file.c:1864 generic_write_sync include/linux/fs.h:2871 [inline] btrfs_do_write_iter+0x5e0/0x760 fs/btrfs/file.c:1515 do_iter_readv_writev+0x600/0x880 vfs_writev+0x376/0xba0 fs/read_write.c:1064 do_pwritev fs/read_write.c:1165 [inline] __do_sys_pwritev2 fs/read_write.c:1224 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1215 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6515d7e719 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:00007f6516c06038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f6515f36058 RCX: 00007f6515d7e719 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000009 RBP: 00007f6515df132e R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007a00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6515f36058 R15: 00007ffff9f9a328