------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6541 Comm: syz-executor.3 Not tainted 5.4.219-syzkaller-00002-ga0eae55f26a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x3a2b/0x3a50 fs/ext4/inode.c:2843 Code: 94 c3 40 0f 94 c6 31 ff e8 52 92 a0 ff 84 db 75 2e e8 b9 8f a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 a5 8f a0 ff <0f> 0b e8 9e 8f a0 ff 0f 0b e8 97 8f a0 ff e8 12 8c 3b ff eb a3 e8 RSP: 0018:ffff8881e7206ec0 EFLAGS: 00010293 RAX: ffffffff81c4bb7b RBX: 0000010000000000 RCX: ffff8881e6a2ee40 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e7207290 R08: ffffffff81c48a47 R09: ffffed1032aac3dd R10: ffffed1032aac3dd R11: 1ffff11032aac3dc R12: ffff888195561f90 R13: ffff8881e7207400 R14: 0000010410000000 R15: 0000000000000001 FS: 00007f858004c700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8577d09d38 CR3: 00000001d97a8000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x13a/0x280 mm/page-writeback.c:2344 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x33f/0x410 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:2965 [inline] ext4_file_write_iter+0xa05/0x10e0 fs/ext4/file.c:281 do_iter_readv_writev+0x529/0x740 fs/read_write.c:690 do_iter_write+0x16f/0x570 fs/read_write.c:970 iter_file_splice_write+0x887/0x10f0 fs/splice.c:746 splice_direct_to_actor+0x4c4/0xb20 fs/splice.c:976 do_splice_direct+0x2a0/0x3f0 fs/splice.c:1064 do_sendfile+0x8f2/0xf10 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+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace 709c10aa16e4935c ]--- RIP: 0010:ext4_writepages+0x3a2b/0x3a50 fs/ext4/inode.c:2843 Code: 94 c3 40 0f 94 c6 31 ff e8 52 92 a0 ff 84 db 75 2e e8 b9 8f a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 a5 8f a0 ff <0f> 0b e8 9e 8f a0 ff 0f 0b e8 97 8f a0 ff e8 12 8c 3b ff eb a3 e8 RSP: 0018:ffff8881e7206ec0 EFLAGS: 00010293 RAX: ffffffff81c4bb7b RBX: 0000010000000000 RCX: ffff8881e6a2ee40 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e7207290 R08: ffffffff81c48a47 R09: ffffed1032aac3dd R10: ffffed1032aac3dd R11: 1ffff11032aac3dc R12: ffff888195561f90 R13: ffff8881e7207400 R14: 0000010410000000 R15: 0000000000000001 FS: 00007f858004c700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f230000 CR3: 00000001d97a8000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400