------------[ cut here ]------------ WARNING: CPU: 1 PID: 16423 at fs/btrfs/extent_io.c:2510 emit_fiemap_extent+0xeb/0x410 Modules linked in: CPU: 1 PID: 16423 Comm: syz-executor.0 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:ffffc9000521f4a8 EFLAGS: 00010283 RAX: ffffffff8393c71b RBX: ffffc9000521f8e0 RCX: 0000000000040000 RDX: ffffc9000c152000 RSI: 0000000000001cf0 RDI: 0000000000001cf1 RBP: 0000000000101000 R08: ffffffff8393c711 R09: 0000000000000800 R10: ffffc9000521f478 R11: fffff52000a43e91 R12: 1ffff92000a43f1f R13: ffffc9000521f8f0 R14: 0000000000002000 R15: 1ffff92000a43f1e FS: 00007fe1f5dfe6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200012c0 CR3: 000000001ba6a000 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:0x7fe1fe67cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fe1f5dfe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe1fe79c050 RCX: 00007fe1fe67cae9 RDX: 00000000200012c0 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007fe1fe6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe1fe79c050 R15: 00007ffe74182b58