kernel BUG at fs/ext4/inode.c:2837! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 356 Comm: syz-executor241 Not tainted 5.4.210-syzkaller-00006-gc80a5b2e7f63 #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:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 f2 9f a0 ff 84 db 75 2e e8 59 9d a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 45 9d a0 ff <0f> 0b e8 3e 9d a0 ff 0f 0b e8 37 9d a0 ff e8 62 a5 3b ff eb a3 e8 RSP: 0018:ffff8881dbadeec0 EFLAGS: 00010293 RAX: ffffffff81c4a22b RBX: 0000010000000000 RCX: ffff8881dc021f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881dbadf290 R08: ffffffff81c470f7 R09: ffffed103cc7300b R10: ffffed103cc7300b R11: 1ffff1103cc7300a R12: ffff8881e6398100 R13: ffff8881dbadf400 R14: 0000011410000000 R15: 0000000000000001 FS: 00007f39f0e95700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39f9271d61 CR3: 00000001dd08c000 CR4: 00000000003406f0 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:2960 [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+0x44/0xa9 RIP: 0033:0x7f39f9211f09 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 18 00 00 90 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:00007f39f0e95208 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f39f928f6d8 RCX: 00007f39f9211f09 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f39f928f6d0 R08: 00007f39f0e95700 R09: 0000000000000000 R10: 0000000080000041 R11: 0000000000000246 R12: 00007f39f928f6dc R13: 00007ffd91646edf R14: 00007f39f0e95300 R15: 0000000000022000 Modules linked in: ---[ end trace 0e6e59795538b507 ]--- RIP: 0010:ext4_writepages+0x3a2b/0x3a50 fs/ext4/inode.c:2836 Code: 94 c3 40 0f 94 c6 31 ff e8 f2 9f a0 ff 84 db 75 2e e8 59 9d a0 ff 48 bb 00 00 00 00 00 fc ff df e9 a9 f6 ff ff e8 45 9d a0 ff <0f> 0b e8 3e 9d a0 ff 0f 0b e8 37 9d a0 ff e8 62 a5 3b ff eb a3 e8 RSP: 0018:ffff8881dbadeec0 EFLAGS: 00010293 RAX: ffffffff81c4a22b RBX: 0000010000000000 RCX: ffff8881dc021f80 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881dbadf290 R08: ffffffff81c470f7 R09: ffffed103cc7300b R10: ffffed103cc7300b R11: 1ffff1103cc7300a R12: ffff8881e6398100 R13: ffff8881dbadf400 R14: 0000011410000000 R15: 0000000000000001 FS: 00007f39f0e95700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f39f0e95000 CR3: 00000001dd08c000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400