------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2854! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 377 Comm: syz-executor121 Not tainted 5.4.249-syzkaller-00009-gfed9191809bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2853 Code: e2 9b ff 31 ff 89 de e8 b8 e2 9b ff 45 84 f6 75 2e e8 9e e0 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 8a e0 9b ff <0f> 0b e8 83 e0 9b ff 0f 0b e8 7c e0 9b ff e8 a7 fe 37 ff eb 99 e8 RSP: 0018:ffff8881dd33ee40 EFLAGS: 00010293 RAX: ffffffff81c85586 RBX: 0000010000000000 RCX: ffff8881dd331f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881dd33f230 R08: ffffffff81c821d6 R09: ffffed103d37b3e9 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e9bd9ff0 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f89684836c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8960162d58 CR3: 00000001dd2b4000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x12b/0x270 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x33c/0x3f0 mm/filemap.c:421 file_write_and_wait_range+0x83/0x110 mm/filemap.c:782 __generic_file_fsync+0x6e/0x190 fs/libfs.c:1022 ext4_sync_file+0x251/0xcc0 fs/ext4/fsync.c:118 generic_write_sync include/linux/fs.h:2965 [inline] ext4_file_write_iter+0xa03/0x10e0 fs/ext4/file.c:281 do_iter_readv_writev+0x591/0x7a0 fs/read_write.c:690 do_iter_write+0x170/0x560 fs/read_write.c:970 iter_file_splice_write+0x7b0/0xf60 fs/splice.c:746 splice_direct_to_actor+0x497/0xae0 fs/splice.c:976 do_splice_direct+0x27f/0x3c0 fs/splice.c:1064 do_sendfile+0x854/0xee0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x1ce/0x230 fs/read_write.c:1511 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace 49116e03e0482a07 ]--- RIP: 0010:ext4_writepages+0x3c96/0x3cc0 fs/ext4/inode.c:2853 Code: e2 9b ff 31 ff 89 de e8 b8 e2 9b ff 45 84 f6 75 2e e8 9e e0 9b ff 49 bf 00 00 00 00 00 fc ff df e9 1d f9 ff ff e8 8a e0 9b ff <0f> 0b e8 83 e0 9b ff 0f 0b e8 7c e0 9b ff e8 a7 fe 37 ff eb 99 e8 RSP: 0018:ffff8881dd33ee40 EFLAGS: 00010293 RAX: ffffffff81c85586 RBX: 0000010000000000 RCX: ffff8881dd331f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881dd33f230 R08: ffffffff81c821d6 R09: ffffed103d37b3e9 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e9bd9ff0 R13: 0000000000000001 R14: 0000010410000000 R15: dffffc0000000000 FS: 00007f89684836c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8960101000 CR3: 00000001dd2b4000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400