------------[ cut here ]------------ WARNING: CPU: 1 PID: 5035 at fs/btrfs/extent_io.c:2510 emit_fiemap_extent+0xeb/0x410 Modules linked in: CPU: 1 PID: 5035 Comm: syz-executor134 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:emit_fiemap_extent+0xeb/0x410 fs/btrfs/extent_io.c:2510 Code: 7b a9 50 fe 49 8b 45 00 48 89 04 24 48 8b 4c 24 28 48 8d 2c 08 48 89 ef 4c 89 f6 e8 7f e2 f7 fd 4c 39 f5 76 1b e8 65 e0 f7 fd <0f> 0b bd ea ff ff ff e9 25 02 00 00 e8 54 e0 f7 fd e9 97 01 00 00 RSP: 0018:ffffc90003eaf4a8 EFLAGS: 00010293 RAX: ffffffff8393c71b RBX: ffffc90003eaf8e0 RCX: ffff888027b2d940 RDX: 0000000000000000 RSI: 0000000000008000 RDI: 0000000000101000 RBP: 0000000000101000 R08: ffffffff8393c711 R09: 0000000000000800 R10: ffffc90003eaf478 R11: fffff520007d5e91 R12: 1ffff920007d5f1f R13: ffffc90003eaf8f0 R14: 0000000000008000 R15: 1ffff920007d5f1e FS: 00007fb230eb26c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200012c8 CR3: 0000000022d63000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fiemap_process_hole+0xa27/0xaf0 fs/btrfs/extent_io.c:2790 extent_fiemap+0xeae/0x1fe0 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7943 ioctl_fiemap fs/ioctl.c:219 [inline] do_vfs_ioctl+0x19db/0x2b30 fs/ioctl.c:810 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb238316b99 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb230eb2218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb2383a36d8 RCX: 00007fb238316b99 RDX: 00000000200012c0 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007fb2383a36d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb2383a36dc R13: 00007fb238370660 R14: 00007fb23836b0c0 R15: 8000000000000001