kernel BUG at fs/ext4/inode.c:2731! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 408 Comm: syz-executor209 Not tainted 5.15.74-syzkaller-00001-g4ec71a9ec769 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x3b91/0x3bb0 fs/ext4/inode.c:2730 Code: c6 31 ff e8 41 95 81 ff 84 db 75 2c e8 28 92 81 ff 48 bb 00 00 00 00 00 fc ff df 4c 8b 7c 24 48 e9 d3 c9 ff ff e8 0f 92 81 ff <0f> 0b e8 08 92 81 ff e8 1f 82 10 ff eb a0 e8 fc 91 81 ff e8 13 82 RSP: 0018:ffffc900002fec60 EFLAGS: 00010293 RAX: ffffffff81efff81 RBX: 0000008000000000 RCX: ffff8881069893c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900002ff050 R08: ffffffff81efcb8f R09: ffffed10212e90c6 R10: ffffed10212e90c6 R11: 1ffff110212e90c5 R12: ffffc900002ff280 R13: 0000000000000001 R14: 0000008410000000 R15: ffffc900002fef20 FS: 0000555556acc300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004571f0 CR3: 000000011e2a3000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x442/0x6c0 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x245/0x2a0 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x1e5/0x2e0 mm/filemap.c:810 ext4_sync_file+0x19e/0xa00 fs/ext4/fsync.c:151 vfs_fsync_range+0x17b/0x190 fs/sync.c:188 generic_write_sync include/linux/fs.h:2949 [inline] ext4_buffered_write_iter+0x584/0x630 fs/ext4/file.c:279 ext4_file_write_iter+0x456/0x1dc0 do_iter_readv_writev+0x52a/0x720 do_iter_write+0x1f4/0x760 fs/read_write.c:855 vfs_iter_write+0x7c/0xa0 fs/read_write.c:896 iter_file_splice_write+0x810/0xfd0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xfe/0x130 fs/splice.c:934 splice_direct_to_actor+0x4d4/0xbd0 fs/splice.c:889 do_splice_direct+0x2a0/0x3f0 fs/splice.c:977 do_sendfile+0x63b/0xfd0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64 fs/read_write.c:1303 [inline] __x64_sys_sendfile64+0x1ce/0x230 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f221ff148d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffca44ee4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f221ff148d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f221fed4170 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 00007f221fed4200 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace a6f07612416fbd85 ]--- RIP: 0010:ext4_writepages+0x3b91/0x3bb0 fs/ext4/inode.c:2730 Code: c6 31 ff e8 41 95 81 ff 84 db 75 2c e8 28 92 81 ff 48 bb 00 00 00 00 00 fc ff df 4c 8b 7c 24 48 e9 d3 c9 ff ff e8 0f 92 81 ff <0f> 0b e8 08 92 81 ff e8 1f 82 10 ff eb a0 e8 fc 91 81 ff e8 13 82 RSP: 0018:ffffc900002fec60 EFLAGS: 00010293 RAX: ffffffff81efff81 RBX: 0000008000000000 RCX: ffff8881069893c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900002ff050 R08: ffffffff81efcb8f R09: ffffed10212e90c6 R10: ffffed10212e90c6 R11: 1ffff110212e90c5 R12: ffffc900002ff280 R13: 0000000000000001 R14: 0000008410000000 R15: ffffc900002fef20 FS: 0000555556acc300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004571f0 CR3: 000000011e2a3000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400