------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6199 Comm: syz-executor.1 Not tainted 5.4.219-syzkaller-00002-ga0eae55f26a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x3a2b/0x3a50 fs/ext4/inode.c:2843 Code: 94 c3 40 0f 94 c6 31 ff e8 52 92 a0 ff 84 db 75 2e e8 b9 8f a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 a5 8f a0 ff <0f> 0b e8 9e 8f a0 ff 0f 0b e8 97 8f a0 ff e8 12 8c 3b ff eb a3 e8 RSP: 0018:ffff8881e1997460 EFLAGS: 00010293 RAX: ffffffff81c4bb7b RBX: 0000010000000000 RCX: ffff8881eb5b8000 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e1997830 R08: ffffffff81c48a47 R09: ffffed1032e5af0c R10: ffffed1032e5af0c R11: 1ffff11032e5af0b R12: ffff8881972d7908 R13: ffff8881e19979a0 R14: 0000010410000000 R15: 0000000000000001 FS: 00007f0827c21700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 00000001e5e7c000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x13a/0x280 mm/page-writeback.c:2344 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x33f/0x410 mm/filemap.c:782 __generic_file_fsync+0x6e/0x190 fs/libfs.c:1006 ext4_sync_file+0x266/0xc70 fs/ext4/fsync.c:118 generic_write_sync include/linux/fs.h:2965 [inline] ext4_file_write_iter+0xa05/0x10e0 fs/ext4/file.c:281 call_write_iter include/linux/fs.h:1981 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x5e3/0x780 fs/read_write.c:496 vfs_write+0x210/0x4f0 fs/read_write.c:558 ksys_write+0x198/0x2c0 fs/read_write.c:611 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace b6bbfaa035bc80d7 ]--- RIP: 0010:ext4_writepages+0x3a2b/0x3a50 fs/ext4/inode.c:2843 Code: 94 c3 40 0f 94 c6 31 ff e8 52 92 a0 ff 84 db 75 2e e8 b9 8f a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 a5 8f a0 ff <0f> 0b e8 9e 8f a0 ff 0f 0b e8 97 8f a0 ff e8 12 8c 3b ff eb a3 e8 RSP: 0018:ffff8881e1997460 EFLAGS: 00010293 RAX: ffffffff81c4bb7b RBX: 0000010000000000 RCX: ffff8881eb5b8000 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e1997830 R08: ffffffff81c48a47 R09: ffffed1032e5af0c R10: ffffed1032e5af0c R11: 1ffff11032e5af0b R12: ffff8881972d7908 R13: ffff8881e19979a0 R14: 0000010410000000 R15: 0000000000000001 FS: 00007f0827c21700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f5ffec718 CR3: 00000001e5e7c000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400