------------[ cut here ]------------ WARNING: CPU: 1 PID: 6970 at fs/btrfs/extent_io.c:2499 emit_fiemap_extent+0xec/0x410 fs/btrfs/extent_io.c:2499 Modules linked in: CPU: 1 PID: 6970 Comm: syz-executor.0 Not tainted 6.8.0-rc1-syzkaller-00049-g6098d87eaf31 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:emit_fiemap_extent+0xec/0x410 fs/btrfs/extent_io.c:2499 Code: 92 49 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 3f b1 ec fd 4c 39 f5 76 1d e8 25 af ec fd 90 <0f> 0b 90 bd ea ff ff ff e9 25 02 00 00 e8 12 af ec fd e9 97 01 00 RSP: 0018:ffffc9000a107488 EFLAGS: 00010293 RAX: ffffffff83a24afb RBX: ffffc9000a1078c0 RCX: ffff8880269ed940 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000000101000 RBP: 0000000000101000 R08: ffffffff83a24af1 R09: 0000000000000800 R10: ffffc9000a107458 R11: fffff52001420e8d R12: 1ffff92001420f1b R13: ffffc9000a1078d0 R14: 0000000000003000 R15: 1ffff92001420f1a FS: 00007fee64f4f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200012c0 CR3: 000000007caab000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fiemap_process_hole+0xa29/0xaf0 fs/btrfs/extent_io.c:2779 extent_fiemap+0xeae/0x1fe0 btrfs_fiemap+0x178/0x1e0 fs/btrfs/inode.c:7848 ioctl_fiemap fs/ioctl.c:220 [inline] do_vfs_ioctl+0x19ea/0x2b40 fs/ioctl.c:811 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fee6427cae9 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:00007fee64f4f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fee6439c050 RCX: 00007fee6427cae9 RDX: 00000000200012c0 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007fee642c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fee6439c050 R15: 00007ffce5de33a8