RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007ffdab7dab30 R08: 0000000000000002 R09: 00007ffdab7dab40 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 00007ffdab7dab70 R14: 00007ffdab7dab50 R15: 0000000000000005 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3610 at fs/btrfs/file.c:2958 btrfs_replace_file_extents+0x11d7/0x17f0 fs/btrfs/file.c:2958 Modules linked in: CPU: 0 PID: 3610 Comm: syz-executor163 Not tainted 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:btrfs_replace_file_extents+0x11d7/0x17f0 fs/btrfs/file.c:2958 Code: e8 8e 94 1d fe 4c 8b 6c 24 08 0f 1f 44 00 00 e8 7f 94 1d fe eb 16 e8 78 94 1d fe 48 c7 c7 40 cd c9 8a 44 89 e6 e8 d9 67 e9 fd <0f> 0b 4c 89 ef 48 c7 c6 20 cf c9 8a ba 8e 0b 00 00 44 89 e1 e8 b4 RSP: 0018:ffffc9000327f2e0 EFLAGS: 00010246 RAX: bd1c8b068abe5700 RBX: 0000000000000000 RCX: ffff88802293bb80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000327f490 R08: ffffffff8166491c R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fffffff4 R13: ffff888074bbd4d0 R14: ffff888074bbd528 R15: 1ffff1100e977aa5 FS: 0000555555936300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005556231532f0 CR3: 000000001b1f7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: insert_prealloc_file_extent fs/btrfs/inode.c:10336 [inline] __btrfs_prealloc_file_range+0x782/0x1440 fs/btrfs/inode.c:10404 btrfs_prealloc_file_range+0x3c/0x50 fs/btrfs/inode.c:10494 btrfs_fallocate+0x1a5e/0x1dd0 fs/btrfs/file.c:3603 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+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fe213e25a59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdab7dab08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe213e25a59 RDX: 0000000020000080 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007ffdab7dab30 R08: 0000000000000002 R09: 00007ffdab7dab40 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 00007ffdab7dab70 R14: 00007ffdab7dab50 R15: 0000000000000005