kernel BUG at fs/ext4/ext4_extents.h:200! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 506 Comm: syz-executor.4 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:ext4_ext_mark_unwritten fs/ext4/ext4_extents.h:200 [inline] RIP: 0010:ext4_split_extent_at+0xe7e/0xe90 fs/ext4/extents.c:3203 Code: 49 89 d7 e8 b4 79 d3 ff 4c 89 fa e9 5c fb ff ff e8 17 fb 94 ff 0f 0b e8 10 fb 94 ff 0f 0b e8 09 fb 94 ff 0f 0b e8 02 fb 94 ff <0f> 0b e8 fb fa 94 ff 0f 0b e8 f4 fa 94 ff 0f 0b 66 90 55 48 89 e5 RSP: 0018:ffffc90001496f20 EFLAGS: 00010293 RAX: ffffffff81d3c40e RBX: 000000000000003b RCX: ffff8881161993c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001497090 R08: dffffc0000000000 R09: ffffed10242fefe4 R10: ffffed10242fefe4 R11: 1ffff110242fefe3 R12: dffffc0000000000 R13: 0000000000000004 R14: 0000000000000000 R15: ffff8881216e8730 FS: 00007f8c674db6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002003f000 CR3: 000000012373a000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_split_extent+0x386/0x4e0 fs/ext4/extents.c:3385 ext4_split_convert_extents fs/ext4/extents.c:3715 [inline] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3876 [inline] ext4_ext_map_blocks+0x1b6f/0x6280 fs/ext4/extents.c:4231 ext4_map_blocks+0x97b/0x1b20 fs/ext4/inode.c:674 ext4_iomap_alloc fs/ext4/inode.c:3432 [inline] ext4_iomap_begin+0x72a/0xa90 fs/ext4/inode.c:3482 iomap_iter+0x57d/0xaf0 fs/iomap/iter.c:74 __iomap_dio_rw+0xa15/0x19f0 fs/iomap/direct-io.c:597 iomap_dio_rw+0x3e/0x90 fs/iomap/direct-io.c:684 ext4_dio_write_iter fs/ext4/file.c:542 [inline] ext4_file_write_iter+0xe9a/0x14c0 fs/ext4/file.c:662 call_write_iter include/linux/fs.h:2212 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x802/0xf70 fs/read_write.c:594 ksys_write+0x140/0x240 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:656 x64_sys_call+0x8ef/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 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:0x7f8c6fd39959 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:00007f8c674db0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c6fe59050 RCX: 00007f8c6fd39959 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f8c6fd95c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8c6fe59050 R15: 00007ffd385b9448 Modules linked in: ---[ end trace 4aeccc1385967949 ]--- RIP: 0010:ext4_ext_mark_unwritten fs/ext4/ext4_extents.h:200 [inline] RIP: 0010:ext4_split_extent_at+0xe7e/0xe90 fs/ext4/extents.c:3203 Code: 49 89 d7 e8 b4 79 d3 ff 4c 89 fa e9 5c fb ff ff e8 17 fb 94 ff 0f 0b e8 10 fb 94 ff 0f 0b e8 09 fb 94 ff 0f 0b e8 02 fb 94 ff <0f> 0b e8 fb fa 94 ff 0f 0b e8 f4 fa 94 ff 0f 0b 66 90 55 48 89 e5 RSP: 0018:ffffc90001496f20 EFLAGS: 00010293 RAX: ffffffff81d3c40e RBX: 000000000000003b RCX: ffff8881161993c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001497090 R08: dffffc0000000000 R09: ffffed10242fefe4 R10: ffffed10242fefe4 R11: 1ffff110242fefe3 R12: dffffc0000000000 R13: 0000000000000004 R14: 0000000000000000 R15: ffff8881216e8730 FS: 00007f8c674db6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f218e04c000 CR3: 000000012373a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400