------------[ cut here ]------------ kernel BUG at fs/ext4/extents.c:3185! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 482 Comm: syz.6.18 Not tainted 5.15.185-syzkaller-1080583-ge678c93d43cc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_split_extent_at+0xe77/0xe90 fs/ext4/extents.c:3185 Code: 6f fb ff ff 48 89 df 49 89 d7 e8 24 8a d3 ff 4c 89 fa e9 5c fb ff ff e8 87 18 95 ff 0f 0b e8 80 18 95 ff 0f 0b e8 79 18 95 ff <0f> 0b e8 72 18 95 ff 0f 0b e8 6b 18 95 ff 0f 0b e8 64 18 95 ff 0f RSP: 0018:ffffc90000c664e0 EFLAGS: 00010293 RAX: ffffffff81d38e17 RBX: 1ffff11025298c02 RCX: ffff88811a2d2780 RDX: 0000000000000000 RSI: 000000000000004a RDI: 000000000000000a RBP: ffffc90000c66650 R08: 0000000000000010 R09: 000000000000003b R10: ffffed10257e2d0a R11: 1ffff110257e2d08 R12: dffffc0000000000 R13: 000000000000000a R14: 0000000000000018 R15: 0000000000000010 FS: 00007f5eb664f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000040000 CR3: 000000011adae000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_split_extent+0x386/0x4e0 fs/ext4/extents.c:3384 ext4_split_convert_extents fs/ext4/extents.c:3714 [inline] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3875 [inline] ext4_ext_map_blocks+0x1b6c/0x6270 fs/ext4/extents.c:4230 ext4_map_blocks+0x97b/0x1b20 fs/ext4/inode.c:674 _ext4_get_block+0x1da/0x4e0 fs/ext4/inode.c:817 ext4_get_block_unwritten+0x2a/0x40 fs/ext4/inode.c:848 ext4_block_write_begin+0x556/0x1150 fs/ext4/inode.c:1102 ext4_write_begin+0x638/0x1220 fs/ext4/ext4_jbd2.h:-1 ext4_da_write_begin+0x2fa/0xb60 fs/ext4/inode.c:2988 generic_perform_write+0x2ad/0x670 mm/filemap.c:3857 ext4_buffered_write_iter+0x4ed/0x670 fs/ext4/file.c:270 ext4_file_write_iter+0x18c/0x14c0 fs/ext4/file.c:664 do_iter_readv_writev+0x491/0x600 fs/read_write.c:-1 do_iter_write+0x1fa/0x7b0 fs/read_write.c:855 vfs_iter_write+0x7d/0xa0 fs/read_write.c:896 iter_file_splice_write+0x650/0xc30 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe9/0x120 fs/splice.c:936 splice_direct_to_actor+0x4cd/0xb30 fs/splice.c:891 do_splice_direct+0x1b3/0x2c0 fs/splice.c:979 do_sendfile+0x5c6/0xeb0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64 fs/read_write.c:1303 [inline] __x64_sys_sendfile64+0x18f/0x1f0 fs/read_write.c:1303 x64_sys_call+0x88d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:41 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:0x7f5eb6bde969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5eb664f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f5eb6e05fa0 RCX: 00007f5eb6bde969 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000005 RBP: 00007f5eb6c60ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000100001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5eb6e05fa0 R15: 00007ffc8cb7dd18 Modules linked in: ---[ end trace 75e584e54eed1f83 ]--- RIP: 0010:ext4_split_extent_at+0xe77/0xe90 fs/ext4/extents.c:3185 Code: 6f fb ff ff 48 89 df 49 89 d7 e8 24 8a d3 ff 4c 89 fa e9 5c fb ff ff e8 87 18 95 ff 0f 0b e8 80 18 95 ff 0f 0b e8 79 18 95 ff <0f> 0b e8 72 18 95 ff 0f 0b e8 6b 18 95 ff 0f 0b e8 64 18 95 ff 0f RSP: 0018:ffffc90000c664e0 EFLAGS: 00010293 RAX: ffffffff81d38e17 RBX: 1ffff11025298c02 RCX: ffff88811a2d2780 RDX: 0000000000000000 RSI: 000000000000004a RDI: 000000000000000a RBP: ffffc90000c66650 R08: 0000000000000010 R09: 000000000000003b R10: ffffed10257e2d0a R11: 1ffff110257e2d08 R12: dffffc0000000000 R13: 000000000000000a R14: 0000000000000018 R15: 0000000000000010 FS: 00007f5eb664f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa28b57fd0c CR3: 000000011adae000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400