------------[ cut here ]------------ WARNING: CPU: 0 PID: 3565 at fs/btrfs/extent-tree.c:862 lookup_inline_extent_backref+0x8ba/0x1370 Modules linked in: CPU: 0 PID: 3565 Comm: syz-executor300 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:lookup_inline_extent_backref+0x8ba/0x1370 fs/btrfs/extent-tree.c:862 Code: 8b 64 24 30 0f 87 c7 0a 00 00 e8 41 ac 26 fe 4c 8b 74 24 20 eb 4e 83 7d 28 00 4c 8b 74 24 20 0f 84 bf 04 00 00 e8 26 ac 26 fe <0f> 0b 41 bd fb ff ff ff e9 38 06 00 00 e8 14 ac 26 fe 4c 8b 64 24 RSP: 0018:ffffc90002f0eee0 EFLAGS: 00010293 RAX: ffffffff83594d2a RBX: 0000000000000000 RCX: ffff888014f9bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002f0f090 R08: ffffffff83594898 R09: ffffc90002f0ec80 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffc90002f0f000 R13: dffffc0000000000 R14: ffff88807d76f000 R15: 1ffff920005e1e01 FS: 00007fe3f9399700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f38f8ed0e8 CR3: 0000000071d12000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_inline_extent_backref+0xe2/0x250 fs/btrfs/extent-tree.c:1145 __btrfs_inc_extent_ref+0x11f/0x610 fs/btrfs/extent-tree.c:1468 run_delayed_tree_ref fs/btrfs/extent-tree.c:1683 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1710 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1956 [inline] __btrfs_run_delayed_refs+0x1153/0x4160 fs/btrfs/extent-tree.c:2019 btrfs_run_delayed_refs+0x141/0x490 fs/btrfs/extent-tree.c:2150 qgroup_account_snapshot fs/btrfs/transaction.c:1535 [inline] create_pending_snapshot+0x1215/0x3110 fs/btrfs/transaction.c:1805 create_pending_snapshots+0x195/0x1d0 fs/btrfs/transaction.c:1873 btrfs_commit_transaction+0x1247/0x3800 fs/btrfs/transaction.c:2317 create_snapshot+0x407/0x700 fs/btrfs/ioctl.c:782 btrfs_mksubvol+0x633/0x770 fs/btrfs/ioctl.c:932 btrfs_mksnapshot+0xb5/0xf0 fs/btrfs/ioctl.c:978 __btrfs_ioctl_snap_create+0x338/0x450 fs/btrfs/ioctl.c:1859 btrfs_ioctl_snap_create+0x136/0x190 fs/btrfs/ioctl.c:1886 btrfs_ioctl+0x216/0xb10 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe40080eb39 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe3f93992f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe4008997f0 RCX: 00007fe40080eb39 RDX: 0000000020002180 RSI: 0000000050009401 RDI: 0000000000000007 RBP: 00007fe40086668c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 00007fe400865690 R14: 2a63d28a7f685400 R15: 00007fe4008997f8