------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2809! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7513 Comm: syz.4.283 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010[ 249.279002][ T7513] RIP: 0010:ext4_do_writepages+0x45f0/0x4600 fs/ext4/inode.c:2808 Code: c6 c0 03 1e 8b e8 70 a8 be fe 90 0f 0b e8 18 58 55 ff 4c 89 f7 48 c7 c6 a0 07 1e 8b e8 59 a8 be fe 90 0f 0b e8 01 58 55 ff 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000f52f160 EFLAGS: 00010283 RAX: ffffffff8269044f RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000e3ab000 RSI: 000000000000045c RDI: 000000000000045d RBP: ffffc9000f52f590 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100c0988ed R12: 0000000000000001 R13: ffffc9000f52f5e0 R14: 0000004000000000 R15: dffffc0000000000 FS: 00007fd697afe6c0(0000) GS:ffff8881268c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f173683b000 CR3: 000000003ef68000 CR4: 00000000003526f0 Call Trace: ext4_writepages+0x205/0x350 fs/ext4/inode.c:3025 do_writepages+0x32b/0x550 mm/page-writeback.c:2634 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] file_write_and_wait_range+0x244/0x340 mm/filemap.c:794 generic_buffers_fsync_noflush+0x6f/0x180 fs/buffer.c:609 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x33b/0xb20 fs/ext4/fsync.c:147 generic_write_sync include/linux/fs.h:3042 [inline] ext4_buffered_write_iter+0x2ce/0x3a0 fs/ext4/file.c:305 ext4_file_write_iter+0x299/0x1be0 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5d2/0xb40 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x196/0x220 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd69989ebe9 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:00007fd697afe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fd699ac5fa0 RCX: 00007fd69989ebe9 RDX: 0000000000000001 RSI: 0000200000000880 RDI: 0000000000000004 RBP: 00007fd699921e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000083 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd699ac6038 R14: 00007fd699ac5fa0 R15: 00007ffe0fca8668 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x45f0/0x4600 fs/ext4/inode.c:2808 Code: c6 c0 03 1e 8b e8 70 a8 be fe 90 0f 0b e8 18 58 55 ff 4c 89 f7 48 c7 c6 a0 07 1e 8b e8 59 a8 be fe 90 0f 0b e8 01 58 55 ff 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000f52f160 EFLAGS: 00010283 RAX: ffffffff8269044f RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000e3ab000 RSI: 000000000000045c RDI: 000000000000045d RBP: ffffc9000f52f590 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100c0988ed R12: 0000000000000001 R13: ffffc9000f52f5e0 R14: 0000004000000000 R15: dffffc0000000000 FS: 00007fd697afe6c0(0000) GS:ffff8881268c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31f16ff8 CR3: 000000003ef68000 CR4: 00000000003526f0