RBP: 00007fda37acd06b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fda37cbe038 R14: 00007fda37cbdfa0 R15: 00007ffd04e446d8 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4557 at fs/btrfs/inode.c:419 cow_file_range_inline+0x7da/0x900 fs/btrfs/inode.c:419 Modules linked in: CPU: 0 PID: 4557 Comm: syz.4.77 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:cow_file_range_inline+0x7da/0x900 fs/btrfs/inode.c:419 Code: e9 03 fd ff ff e8 96 dd 2c fe e9 00 01 00 00 e8 8c dd 2c fe eb 16 e8 85 dd 2c fe 48 c7 c7 c0 7e 6b 8a 44 89 e6 e8 a6 12 6a 06 <0f> 0b 4c 8b 74 24 18 48 8b 5c 24 20 4c 8b 7c 24 28 4c 89 ff 48 c7 RSP: 0018:ffffc9000311eba0 EFLAGS: 00010246 RAX: 71590fdf13c08b00 RBX: ffff88805d02c268 RCX: 0000000000080000 RDX: ffffc9000bbb9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000311ecd0 R08: ffffffff901f121f R09: 1ffffffff203e243 R10: dffffc0000000000 R11: fffffbfff203e244 R12: 00000000fffffff4 R13: ffff88805e128001 R14: 00000000fffffff4 R15: 1ffff1100ba0584d FS: 00007fda35c8e6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdca14e82f8 CR3: 00000000248fa000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: cow_file_range+0x485/0xb40 fs/btrfs/inode.c:1125 btrfs_run_delalloc_range+0x28f/0x1450 fs/btrfs/inode.c:2020 writepage_delalloc+0x14f/0x360 fs/btrfs/extent_io.c:3809 __extent_writepage+0x508/0xa70 fs/btrfs/extent_io.c:4115 extent_write_cache_pages fs/btrfs/extent_io.c:5036 [inline] extent_writepages+0xa96/0x1350 fs/btrfs/extent_io.c:5163 do_writepages+0x493/0x700 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] filemap_fdatawrite_range+0xe7/0x140 mm/filemap.c:451 btrfs_fdatawrite_range fs/btrfs/file.c:3925 [inline] btrfs_direct_write fs/btrfs/file.c:2054 [inline] btrfs_file_write_iter+0x61f/0xd80 fs/btrfs/file.c:2092 do_iter_readv_writev+0x47d/0x5f0 fs/read_write.c:-1 do_iter_write+0x1f8/0x7a0 fs/read_write.c:855 iter_file_splice_write+0x6be/0xcf0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:956 splice_direct_to_actor+0x4e8/0xc00 fs/splice.c:902 do_splice_direct+0x1d4/0x2f0 fs/splice.c:1008 do_sendfile+0x524/0xe30 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1303 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:0x7fda37a36159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fda35c8e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fda37cbdfa0 RCX: 00007fda37a36159 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000007 RBP: 00007fda37acd06b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fda37cbe038 R14: 00007fda37cbdfa0 R15: 00007ffd04e446d8