RBP: 00007fcb171e9120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fcb17f86f80 R15: 00007fffce2d4b08 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3903 at fs/btrfs/file.c:2985 btrfs_replace_file_extents+0x11d7/0x17f0 fs/btrfs/file.c:2985 Modules linked in: CPU: 1 PID: 3903 Comm: syz-executor.0 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:btrfs_replace_file_extents+0x11d7/0x17f0 fs/btrfs/file.c:2985 Code: e8 4e 49 1b fe 4c 8b 6c 24 08 0f 1f 44 00 00 e8 3f 49 1b fe eb 16 e8 38 49 1b fe 48 c7 c7 40 68 ca 8a 44 89 e6 e8 b9 e4 e6 fd <0f> 0b 4c 89 ef 48 c7 c6 20 6a ca 8a ba a9 0b 00 00 44 89 e1 e8 60 RSP: 0018:ffffc90002cb72e0 EFLAGS: 00010246 RAX: 4ba57880cddeb900 RBX: 0000000000000000 RCX: ffff888019768000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002cb7490 R08: ffffffff81669a2c R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fffffff4 R13: ffff888074fa8160 R14: ffff888074fa81b8 R15: 1ffff1100e9f5037 FS: 00007fcb171e96c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056021fa00950 CR3: 000000007345d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_prealloc_file_extent fs/btrfs/inode.c:10399 [inline] __btrfs_prealloc_file_range+0x782/0x1440 fs/btrfs/inode.c:10467 btrfs_prealloc_file_range+0x3c/0x50 fs/btrfs/inode.c:10557 btrfs_fallocate+0x1a5e/0x1dd0 fs/btrfs/file.c:3630 vfs_fallocate+0x54a/0x6b0 fs/open.c:308 do_vfs_ioctl+0x2317/0x2b70 fs/ioctl.c:853 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x81/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fcb17e67959 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:00007fcb171e90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcb17f86f80 RCX: 00007fcb17e67959 RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007fcb171e9120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fcb17f86f80 R15: 00007fffce2d4b08