------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2744! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12641 Comm: syz-executor.0 Not tainted 6.1.0-rc8-next-20221207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x2556/0x3dc0 fs/ext4/inode.c:2744 Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 4e 1d fe ff 83 c0 01 89 84 24 c4 00 00 00 e9 46 e1 ff ff e8 4a 54 5c ff <0f> 0b e8 43 54 5c ff 44 0f b6 a4 24 eb 00 00 00 89 5c 24 08 e9 79 RSP: 0018:ffffc9001480ef80 EFLAGS: 00010216 RAX: 0000000000015873 RBX: 0000000000000001 RCX: ffffc90003d31000 RDX: 0000000000040000 RSI: ffffffff82254eb6 RDI: 0000000000000007 RBP: ffff88808a218a58 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000080 R12: 0000000000000001 R13: ffff88808a218cb8 R14: ffffc9001480f4d8 R15: ffff88807da68000 FS: 00007f67a832e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32938000 CR3: 000000001cde2000 CR4: 00000000003506f0 Call Trace: do_writepages+0x1af/0x690 mm/page-writeback.c:2581 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x147/0x1b0 mm/filemap.c:378 __filemap_fdatawrite_range+0xb8/0xf0 mm/filemap.c:421 file_write_and_wait_range+0xce/0x140 mm/filemap.c:777 ext4_sync_file+0x265/0x1150 fs/ext4/fsync.c:151 vfs_fsync_range+0x13e/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2882 [inline] generic_write_sync include/linux/fs.h:2879 [inline] ext4_buffered_write_iter+0x379/0x460 fs/ext4/file.c:292 ext4_file_write_iter+0x8bf/0x1710 fs/ext4/file.c:700 call_write_iter include/linux/fs.h:2186 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x745/0xc90 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:931 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:886 do_splice_direct+0x1ab/0x280 fs/splice.c:974 do_sendfile+0xb19/0x1270 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x259/0x2c0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f67a768c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f67a832e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f67a77abf80 RCX: 00007f67a768c0d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f67a76e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000041 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc4390f61f R14: 00007f67a832e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x2556/0x3dc0 fs/ext4/inode.c:2744 Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 4e 1d fe ff 83 c0 01 89 84 24 c4 00 00 00 e9 46 e1 ff ff e8 4a 54 5c ff <0f> 0b e8 43 54 5c ff 44 0f b6 a4 24 eb 00 00 00 89 5c 24 08 e9 79 RSP: 0018:ffffc9001480ef80 EFLAGS: 00010216 RAX: 0000000000015873 RBX: 0000000000000001 RCX: ffffc90003d31000 RDX: 0000000000040000 RSI: ffffffff82254eb6 RDI: 0000000000000007 RBP: ffff88808a218a58 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000080 R12: 0000000000000001 R13: ffff88808a218cb8 R14: ffffc9001480f4d8 R15: ffff88807da68000 FS: 00007f67a832e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8533f85058 CR3: 000000001cde2000 CR4: 00000000003506f0