R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f75d0708f80 R15: 00007ffd0c3b14a8 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4537 at fs/btrfs/file.c:2983 btrfs_replace_file_extents+0xfc7/0x1610 fs/btrfs/file.c:2983 Modules linked in: CPU: 0 PID: 4537 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:btrfs_replace_file_extents+0xfc7/0x1610 fs/btrfs/file.c:2983 Code: 00 e8 cd 40 36 fe 48 8b 1c 24 0f 1f 44 00 00 e8 bf 40 36 fe eb 16 e8 b8 40 36 fe 48 c7 c7 80 11 4b 8a 44 89 e6 e8 49 de 5c 06 <0f> 0b 48 89 df 48 c7 c6 60 13 4b 8a ba a7 0b 00 00 44 89 e1 e8 00 RSP: 0018:ffffc90002faf420 EFLAGS: 00010246 RAX: ac8cebe61d0d0600 RBX: ffff888074245160 RCX: ffff8880788c0000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002faf590 R08: dffffc0000000000 R09: ffffed1017204f2c R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: 00000000fffffff4 R13: dffffc0000000000 R14: 1ffff1100e848a37 R15: ffff8880742451b8 FS: 00007f75cf96b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560d0f588950 CR3: 0000000023add000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_prealloc_file_extent fs/btrfs/inode.c:10414 [inline] __btrfs_prealloc_file_range+0x493/0xd20 fs/btrfs/inode.c:10482 btrfs_prealloc_file_range+0x3c/0x50 fs/btrfs/inode.c:10572 btrfs_fallocate+0x1748/0x1aa0 fs/btrfs/file.c:3628 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ioctl_preallocate fs/ioctl.c:294 [inline] file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1b70/0x1de0 fs/ioctl.c:853 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f75d05e9959 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:00007f75cf96b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f75d0708f80 RCX: 00007f75d05e9959 RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007f75cf96b120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007f75d0708f80 R15: 00007ffd0c3b14a8