kernel BUG at fs/ext4/inode.c:2837! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 649 Comm: syz-executor.4 Not tainted 5.4.197-syzkaller-00015-gf0306959ab7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 51 60 a5 ff 84 db 75 2e e8 b8 5d a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 5d a5 ff <0f> 0b e8 9d 5d a5 ff 0f 0b e8 96 5d a5 ff e8 41 4b 45 ff eb 9e e8 RSP: 0018:ffff8881e90b7890 EFLAGS: 00010287 RAX: ffffffff81baf6cc RBX: 0000018410000000 RCX: 0000000000040000 RDX: ffffc9000154e000 RSI: 000000000000024a RDI: 000000000000024b RBP: 0000010000000000 R08: ffffffff81bac9c4 R09: ffffed10369b0951 R10: ffffed10369b0951 R11: 1ffff110369b0950 R12: ffff8881b4d84b30 R13: ffff8881ea17a000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f6e4ed79700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ae5cfc0000 CR3: 00000001eb011000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0xda/0x1f0 mm/page-writeback.c:2344 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x2cd/0x360 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:2960 [inline] ext4_file_write_iter+0x963/0x1040 fs/ext4/file.c:281 call_write_iter include/linux/fs.h:1976 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x4f9/0x6a0 fs/read_write.c:496 vfs_write+0x210/0x4f0 fs/read_write.c:558 ksys_write+0x158/0x260 fs/read_write.c:611 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f6e4fc24279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6e4ed79168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6e4fd37050 RCX: 00007f6e4fc24279 RDX: 0000000000000016 RSI: 0000000020002580 RDI: 0000000000000007 RBP: 00007f6e4fc7e189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb76fe7af R14: 00007f6e4ed79300 R15: 0000000000022000 Modules linked in: ---[ end trace a4f82543d2376196 ]--- RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 51 60 a5 ff 84 db 75 2e e8 b8 5d a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 5d a5 ff <0f> 0b e8 9d 5d a5 ff 0f 0b e8 96 5d a5 ff e8 41 4b 45 ff eb 9e e8 RSP: 0018:ffff8881e90b7890 EFLAGS: 00010287 RAX: ffffffff81baf6cc RBX: 0000018410000000 RCX: 0000000000040000 RDX: ffffc9000154e000 RSI: 000000000000024a RDI: 000000000000024b RBP: 0000010000000000 R08: ffffffff81bac9c4 R09: ffffed10369b0951 R10: ffffed10369b0951 R11: 1ffff110369b0950 R12: ffff8881b4d84b30 R13: ffff8881ea17a000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f6e4ed79700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001eb011000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400