------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2761! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12533 Comm: syz.9.3097 Not tainted 6.1.145-syzkaller-00002-gc750dc582629 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ext4_writepages+0x2ff8/0x3020 fs/ext4/inode.c:2760 Code: 9e 86 ff 84 db 75 31 e8 66 9b 86 ff 49 bc 00 00 00 00 00 fc ff df 4c 8b 7c 24 18 4c 8b 6c 24 38 e9 a2 f7 ff ff e8 48 9b 86 ff <0f> 0b e8 41 9b 86 ff e8 68 13 17 ff eb 93 e8 35 9b 86 ff e8 5c 13 RSP: 0018:ffffc90000f7f340 EFLAGS: 00010293 RAX: ffffffff81e96738 RBX: 0000008410000000 RCX: ffff88813b27a880 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000f7f6b0 R08: dffffc0000000000 R09: ffffed1026a38ac4 R10: ffffed1026a38ac4 R11: 1ffff11026a38ac3 R12: dffffc0000000000 R13: ffff8881351c5730 R14: 0000008000000000 R15: ffff8881351c5618 FS: 00007f87dfc6d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000026c CR3: 0000000135c05000 CR4: 00000000003506b0 DR0: 000000000000a7d0 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3a9/0x5e0 mm/page-writeback.c:2494 filemap_fdatawrite_wbc+0x128/0x190 mm/filemap.c:408 __filemap_fdatawrite_range mm/filemap.c:441 [inline] file_write_and_wait_range+0x137/0x200 mm/filemap.c:794 ext4_sync_file+0x1a9/0xa10 fs/ext4/fsync.c:151 vfs_fsync_range+0x1a1/0x1b0 fs/sync.c:188 generic_write_sync include/linux/fs.h:2980 [inline] ext4_buffered_write_iter+0x59e/0x660 fs/ext4/file.c:292 ext4_file_write_iter+0x18f/0x13d0 fs/ext4/file.c:-1 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5db/0xca0 fs/read_write.c:584 ksys_write+0x140/0x240 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f87ded8ebe9 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:00007f87dfc6d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f87defb5fa0 RCX: 00007f87ded8ebe9 RDX: 0000000000000030 RSI: 0000200000000240 RDI: 000000000000000c RBP: 00007f87dee11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f87defb6038 R14: 00007f87defb5fa0 R15: 00007ffe914f9698 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x2ff8/0x3020 fs/ext4/inode.c:2760 Code: 9e 86 ff 84 db 75 31 e8 66 9b 86 ff 49 bc 00 00 00 00 00 fc ff df 4c 8b 7c 24 18 4c 8b 6c 24 38 e9 a2 f7 ff ff e8 48 9b 86 ff <0f> 0b e8 41 9b 86 ff e8 68 13 17 ff eb 93 e8 35 9b 86 ff e8 5c 13 RSP: 0018:ffffc90000f7f340 EFLAGS: 00010293 RAX: ffffffff81e96738 RBX: 0000008410000000 RCX: ffff88813b27a880 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000f7f6b0 R08: dffffc0000000000 R09: ffffed1026a38ac4 R10: ffffed1026a38ac4 R11: 1ffff11026a38ac3 R12: dffffc0000000000 R13: ffff8881351c5730 R14: 0000008000000000 R15: ffff8881351c5618 FS: 00007f87dfc6d6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000800000 CR3: 0000000135c05000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400