------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2837! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12512 Comm: syz-executor.4 Not tainted 5.4.180-syzkaller-00010-ga6d97349a046 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 51 75 a5 ff 84 db 75 2e e8 b8 72 a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 72 a5 ff <0f> 0b e8 9d 72 a5 ff 0f 0b e8 96 72 a5 ff e8 d1 75 45 ff eb 9e e8 RSP: 0018:ffff8881e0c9f890 EFLAGS: 00010287 RAX: ffffffff81bacc3c RBX: 0000018410000000 RCX: 0000000000040000 RDX: ffffc90001d52000 RSI: 000000000000022a RDI: 000000000000022b RBP: 0000010000000000 R08: ffffffff81ba9f34 R09: ffffed10344cc80b R10: ffffed10344cc80b R11: 1ffff110344cc80a R12: ffff8881a2664100 R13: ffff8881ebc59000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f5c63f8c700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e376c2000 CR3: 00000001ad56d000 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:0x7f5c64e160e9 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:00007f5c63f8c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5c64f28f60 RCX: 00007f5c64e160e9 RDX: 0000000000000016 RSI: 0000000020002580 RDI: 0000000000000013 RBP: 00007f5c64e7008d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9300022f R14: 00007f5c63f8c300 R15: 0000000000022000 Modules linked in: ---[ end trace 3fe142c1eee2d101 ]--- RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 51 75 a5 ff 84 db 75 2e e8 b8 72 a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 72 a5 ff <0f> 0b e8 9d 72 a5 ff 0f 0b e8 96 72 a5 ff e8 d1 75 45 ff eb 9e e8 RSP: 0018:ffff8881e0c9f890 EFLAGS: 00010287 RAX: ffffffff81bacc3c RBX: 0000018410000000 RCX: 0000000000040000 RDX: ffffc90001d52000 RSI: 000000000000022a RDI: 000000000000022b RBP: 0000010000000000 R08: ffffffff81ba9f34 R09: ffffed10344cc80b R10: ffffed10344cc80b R11: 1ffff110344cc80a R12: ffff8881a2664100 R13: ffff8881ebc59000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f5c63f8c700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f744df83000 CR3: 00000001ad56d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400