------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2735! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 394 Comm: syz-executor.5 Not tainted 5.15.148-syzkaller-1069101-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2734 Code: 89 de e8 1d c8 87 ff 45 84 f6 75 2c e8 83 c5 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 6a c5 87 ff <0f> 0b e8 63 c5 87 ff e8 0a 27 18 ff eb 9b e8 57 c5 87 ff e8 fe 26 RSP: 0018:ffffc90000fb7260 EFLAGS: 00010293 RAX: ffffffff81e85a96 RBX: 0000008000000000 RCX: ffff8881102062c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000fb7670 R08: ffffffff81e85206 R09: ffffed102123823c R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000fb78a0 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007ff78fcbd6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055deaef00c00 CR3: 0000000123346000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x40e/0x670 mm/page-writeback.c:2366 filemap_fdatawrite_wbc+0x248/0x2a0 mm/filemap.c:404 __filemap_fdatawrite_range mm/filemap.c:437 [inline] file_write_and_wait_range+0x1cb/0x2b0 mm/filemap.c:814 ext4_sync_file+0x1a2/0xa50 fs/ext4/fsync.c:151 vfs_fsync_range+0x17b/0x190 fs/sync.c:188 generic_write_sync include/linux/fs.h:3023 [inline] ext4_buffered_write_iter+0x568/0x610 fs/ext4/file.c:277 ext4_file_write_iter+0x443/0x1c80 call_write_iter include/linux/fs.h:2202 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xd5d/0x1110 fs/read_write.c:594 ksys_write+0x199/0x2c0 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 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff79845b8d9 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:00007ff78fcbd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff79857b050 RCX: 00007ff79845b8d9 RDX: 0000000000000024 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007ff7984b7ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff79857b050 R15: 00007fff44bf82f8 Modules linked in: ---[ end trace 2240c6d4b5352c47 ]--- RIP: 0010:ext4_writepages+0x3fe6/0x4000 fs/ext4/inode.c:2734 Code: 89 de e8 1d c8 87 ff 45 84 f6 75 2c e8 83 c5 87 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e4 c5 ff ff e8 6a c5 87 ff <0f> 0b e8 63 c5 87 ff e8 0a 27 18 ff eb 9b e8 57 c5 87 ff e8 fe 26 RSP: 0018:ffffc90000fb7260 EFLAGS: 00010293 RAX: ffffffff81e85a96 RBX: 0000008000000000 RCX: ffff8881102062c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000fb7670 R08: ffffffff81e85206 R09: ffffed102123823c R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000fb78a0 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007ff78fcbd6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd366f9b8 CR3: 0000000123346000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400