------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2861! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 8034 Comm: syz-executor179 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 task: ffff8880ac15e600 task.stack: ffff8880b2c20000 RIP: 0010:ext4_writepages+0x27fc/0x32a0 fs/ext4/inode.c:2861 RSP: 0018:ffff8880b2c27638 EFLAGS: 00010297 RAX: ffff8880ac15e600 RBX: 00000000a802c010 RCX: 1ffff1101582bec1 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880ac15f608 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000001c44 R10: 0000000000000001 R11: ffff8880ac15e600 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88808e33d2b0 R15: ffff8880b2c27a60 FS: 00007ff90d9e5700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd6ff489b0 CR3: 00000000a238f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0xc3/0x240 mm/page-writeback.c:2361 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346 file_write_and_wait_range+0x86/0xd0 mm/filemap.c:678 __generic_file_fsync+0x70/0x190 fs/libfs.c:1001 ext4_sync_file+0x8ed/0x12c0 fs/ext4/fsync.c:118 vfs_fsync_range+0x103/0x260 fs/sync.c:196 generic_write_sync include/linux/fs.h:2684 [inline] ext4_file_write_iter+0x5fa/0xd20 fs/ext4/file.c:281 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7ff915d61f89 RSP: 002b:00007ff90d9e5208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000040 RCX: 00007ff915d61f89 RDX: 000000000000000c RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007ff915ddf6d0 R08: 00007ff915ddf6d8 R09: 00007ff915ddf6d8 R10: 00007ff90d9e5700 R11: 0000000000000246 R12: 00007ff915ddf6dc R13: 00007ffd6fe60faf R14: 00007ff90d9e5300 R15: 0000000000022000 Code: ff ff 4c 89 ff e8 65 b1 c3 ff e9 98 db ff ff e8 eb ed 99 ff 48 8b bc 24 b8 00 00 00 e8 7e 56 b1 ff e9 18 f5 ff ff e8 d4 ed 99 ff <0f> 0b e8 cd ed 99 ff 48 8b bc 24 b8 00 00 00 e8 60 56 b1 ff 8b RIP: ext4_writepages+0x27fc/0x32a0 fs/ext4/inode.c:2861 RSP: ffff8880b2c27638 ---[ end trace 5000948806bbccde ]---