------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2609! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5318 Comm: syz-executor288 Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ext4_do_writepages+0x3d16/0x3d20 fs/ext4/inode.c:2608 Code: b0 8e 4c 89 f2 e8 7a a7 95 02 e9 ab fb ff ff e8 90 db 34 ff 90 0f 0b e8 88 db 34 ff 90 0f 0b e8 c0 e7 66 09 e8 7b db 34 ff 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d067060 EFLAGS: 00010293 RAX: ffffffff82600ef5 RBX: 0000004000000000 RCX: ffff88801f8ca440 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000d067470 R08: ffffffff825fd6f3 R09: 1ffff11008e344fe R10: dffffc0000000000 R11: ffffed1008e344ff R12: 0000000000000001 R13: 0000000000400040 R14: 0000004210000000 R15: ffff8880471a2a50 FS: 00007f9a05db46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000301 CR3: 00000000437d2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2813 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:398 __filemap_fdatawrite_range mm/filemap.c:431 [inline] file_write_and_wait_range+0x195/0x280 mm/filemap.c:788 generic_buffers_fsync_noflush+0x71/0x180 fs/buffer.c:600 ext4_fsync_nojournal fs/ext4/fsync.c:88 [inline] ext4_sync_file+0x40a/0xb90 fs/ext4/fsync.c:151 generic_write_sync include/linux/fs.h:2871 [inline] ext4_buffered_write_iter+0x284/0x350 fs/ext4/file.c:305 ext4_file_write_iter+0x1dd/0x1a20 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:683 ksys_write+0x183/0x2b0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a05e1d889 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f9a05db4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9a05ea56d8 RCX: 00007f9a05e1d889 RDX: 000000000000001c RSI: 0000000020000300 RDI: 0000000000000004 RBP: 00007f9a05ea56d0 R08: 00007f9a05ea56d0 R09: 0000000000000000 R10: 00007f9a05db4170 R11: 0000000000000246 R12: 00007f9a05ea56dc R13: 0000000000000000 R14: 00007ffc72438fb0 R15: 00007ffc72439098 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3d16/0x3d20 fs/ext4/inode.c:2608 Code: b0 8e 4c 89 f2 e8 7a a7 95 02 e9 ab fb ff ff e8 90 db 34 ff 90 0f 0b e8 88 db 34 ff 90 0f 0b e8 c0 e7 66 09 e8 7b db 34 ff 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d067060 EFLAGS: 00010293 RAX: ffffffff82600ef5 RBX: 0000004000000000 RCX: ffff88801f8ca440 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000d067470 R08: ffffffff825fd6f3 R09: 1ffff11008e344fe R10: dffffc0000000000 R11: ffffed1008e344ff R12: 0000000000000001 R13: 0000000000400040 R14: 0000004210000000 R15: ffff8880471a2a50 FS: 00007f9a05db46c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000301 CR3: 00000000437d2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400