------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2837! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 304 Comm: syz-executor130 Not tainted 5.4.210-syzkaller-00004-gff63a5f5cdf6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 b1 27 a5 ff 84 db 75 2e e8 18 25 a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 04 25 a5 ff <0f> 0b e8 fd 24 a5 ff 0f 0b e8 f6 24 a5 ff e8 31 ce 44 ff eb 9e e8 RSP: 0018:ffff8881dd787890 EFLAGS: 00010293 RAX: ffffffff81bb73dc RBX: 0000018410000000 RCX: ffff8881e11abf00 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: 0000010000000000 R08: ffffffff81bb46d4 R09: ffffed103cc8780b R10: ffffed103cc8780b R11: 1ffff1103cc8780a R12: ffff8881e643c100 R13: ffff8881dd7e0000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556671300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004571f0 CR3: 00000001dd794000 CR4: 00000000003406e0 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:0x7f7f5c04eef9 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd14199828 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f7f5c04eef9 RDX: 0000000000000088 RSI: 0000000020000440 RDI: 0000000000000006 RBP: 00007f7f5c00e6f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7f5c00e780 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 98765d3cbabf3d33 ]--- RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 b1 27 a5 ff 84 db 75 2e e8 18 25 a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 04 25 a5 ff <0f> 0b e8 fd 24 a5 ff 0f 0b e8 f6 24 a5 ff e8 31 ce 44 ff eb 9e e8 RSP: 0018:ffff8881dd787890 EFLAGS: 00010293 RAX: ffffffff81bb73dc RBX: 0000018410000000 RCX: ffff8881e11abf00 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: 0000010000000000 R08: ffffffff81bb46d4 R09: ffffed103cc8780b R10: ffffed103cc8780b R11: 1ffff1103cc8780a R12: ffff8881e643c100 R13: ffff8881dd7e0000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556671300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004571f0 CR3: 00000001dd794000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400