------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2746! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8091 Comm: syz-executor.3 Not tainted 6.1.39-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2745 Code: c7 70 e0 0b 8d 4c 89 f2 e8 74 e7 26 02 e9 b9 fb ff ff e8 5a 00 51 ff 0f 0b e8 53 00 51 ff 0f 0b e8 5c 6a 4b 08 e8 47 00 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:ffffc9000368ede0 EFLAGS: 00010287 RAX: ffffffff8238da99 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc90004492000 RSI: 000000000002aa0e RDI: 000000000002aa0f RBP: ffffc9000368f1d0 R08: ffffffff8238a350 R09: ffffed1005c93791 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc9000368f400 R14: 000000c410000000 R15: ffffc9000368f0a0 FS: 00007f41fa24a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 0000000035127000 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] filemap_write_and_wait_range+0x1a4/0x290 mm/filemap.c:674 __iomap_dio_rw+0xb38/0x2240 fs/iomap/direct-io.c:573 iomap_dio_rw+0x42/0xa0 fs/iomap/direct-io.c:690 ext4_dio_read_iter fs/ext4/file.c:94 [inline] ext4_file_read_iter+0x50b/0x660 fs/ext4/file.c:145 call_read_iter include/linux/fs.h:2199 [inline] generic_file_splice_read+0x23c/0x630 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x408/0xbd0 fs/splice.c:865 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:0x7f41f947cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f41fa24a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f41f959bf80 RCX: 00007f41f947cb29 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f41f94c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f41f959bf80 R15: 00007ffd7c6c8798 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x3dd9/0x3de0 fs/ext4/inode.c:2745 Code: c7 70 e0 0b 8d 4c 89 f2 e8 74 e7 26 02 e9 b9 fb ff ff e8 5a 00 51 ff 0f 0b e8 53 00 51 ff 0f 0b e8 5c 6a 4b 08 e8 47 00 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:ffffc9000368ede0 EFLAGS: 00010287 RAX: ffffffff8238da99 RBX: 0000008000000000 RCX: 0000000000040000 RDX: ffffc90004492000 RSI: 000000000002aa0e RDI: 000000000002aa0f RBP: ffffc9000368f1d0 R08: ffffffff8238a350 R09: ffffed1005c93791 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc9000368f400 R14: 000000c410000000 R15: ffffc9000368f0a0 FS: 00007f41fa24a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33639000 CR3: 0000000035127000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400