------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2746! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 16370 Comm: syz-executor.2 Not tainted 6.1.31-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2745 Code: c7 b0 b7 0b 8d 4c 89 f2 e8 74 c2 26 02 e9 b9 fb ff ff e8 8a 2a 51 ff 0f 0b e8 83 2a 51 ff 0f 0b e8 cc 3c 4a 08 e8 77 2a 51 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc900033aed40 EFLAGS: 00010287 RAX: ffffffff8238aaf9 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc900041c1000 RSI: 0000000000011102 RDI: 0000000000011103 RBP: ffffc900033af130 R08: ffffffff823873b0 R09: ffffed1009fad28d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc900033af360 R14: 0000008410000000 R15: ffffc900033af000 FS: 00007fe12075e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa48ac34718 CR3: 000000005fe9c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x1ca/0x2b0 mm/filemap.c:774 ext4_sync_file+0x249/0xcc0 fs/ext4/fsync.c:151 generic_write_sync include/linux/fs.h:2897 [inline] ext4_buffered_write_iter+0x30a/0x3a0 fs/ext4/file.c:292 ext4_file_write_iter+0x1d2/0x18f0 do_iter_write+0x6e6/0xc50 fs/read_write.c:861 iter_file_splice_write+0x806/0xfa0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4c0/0xbd0 fs/splice.c:886 do_splice_direct+0x27f/0x3c0 fs/splice.c:974 do_sendfile+0x61c/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe11fa8c169 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:00007fe12075e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe11fbac050 RCX: 00007fe11fa8c169 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000006 RBP: 00007fe11fae7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdcbe3dc7f R14: 00007fe12075e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2745 Code: c7 b0 b7 0b 8d 4c 89 f2 e8 74 c2 26 02 e9 b9 fb ff ff e8 8a 2a 51 ff 0f 0b e8 83 2a 51 ff 0f 0b e8 cc 3c 4a 08 e8 77 2a 51 ff <0f> 0b 0f 1f 44 00 00 41 57 41 56 41 55 41 54 53 49 89 f7 49 89 fe RSP: 0018:ffffc900033aed40 EFLAGS: 00010287 RAX: ffffffff8238aaf9 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc900041c1000 RSI: 0000000000011102 RDI: 0000000000011103 RBP: ffffc900033af130 R08: ffffffff823873b0 R09: ffffed1009fad28d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc900033af360 R14: 0000008410000000 R15: ffffc900033af000 FS: 00007fe12075e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ee0386058 CR3: 000000005fe9c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400