RBP: 00007fd5d5a70120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fd5d680df80 R15: 00007ffe5d0bbf38 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4638 at fs/btrfs/file.c:2983 btrfs_replace_file_extents+0xfc7/0x1610 fs/btrfs/file.c:2983 Modules linked in: CPU: 1 PID: 4638 Comm: syz-executor.0 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:btrfs_replace_file_extents+0xfc7/0x1610 fs/btrfs/file.c:2983 Code: 00 e8 ed 91 36 fe 48 8b 1c 24 0f 1f 44 00 00 e8 df 91 36 fe eb 16 e8 d8 91 36 fe 48 c7 c7 40 03 4b 8a 44 89 e6 e8 99 35 5c 06 <0f> 0b 48 89 df 48 c7 c6 20 05 4b 8a ba a7 0b 00 00 44 89 e1 e8 d0 RSP: 0018:ffffc9000319f420 EFLAGS: 00010246 RAX: f3703b34dc24e800 RBX: ffff8880755bc210 RCX: ffff888079c25940 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000319f590 R08: dffffc0000000000 R09: fffff52000633de9 R10: fffff52000633de9 R11: 1ffff92000633de8 R12: 00000000fffffff4 R13: dffffc0000000000 R14: 1ffff1100eab784d R15: ffff8880755bc268 FS: 00007fd5d5a706c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff0adecb7d0 CR3: 00000000762fd000 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:0x7fd5d66ee959 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:00007fd5d5a700c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd5d680df80 RCX: 00007fd5d66ee959 RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007fd5d5a70120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fd5d680df80 R15: 00007ffe5d0bbf38