------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2623! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6919 Comm: syz.5.209 Not tainted 6.15.0-rc1-next-20250411-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:ext4_do_writepages+0x3e44/0x3e50 fs/ext4/inode.c:2622 Code: f0 8e 4c 89 f2 e8 fc 12 be 02 e9 83 fb ff ff e8 c2 24 3f ff 90 0f 0b e8 ba 24 3f ff 90 0f 0b e8 12 cd ae 09 e8 ad 24 3f ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003446840 EFLAGS: 00010287 RAX: ffffffff82845593 RBX: 0000004000000000 RCX: 0000000000080000 RDX: ffffc9001abfa000 RSI: 000000000000173e RDI: 000000000000173f RBP: ffffc90003446c50 R08: ffffffff82841cc3 R09: 1ffff1100f524da9 R10: dffffc0000000000 R11: ffffed100f524daa R12: 0000000000000001 R13: ffffc90003446f60 R14: 0000004210000000 R15: ffffc90003446cc0 FS: 00007f68991a26c0(0000) GS:ffff888124f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bedc276a8 CR3: 00000000298a0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x271/0x450 fs/ext4/inode.c:2828 do_writepages+0x38c/0x640 mm/page-writeback.c:2635 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] filemap_write_and_wait_range+0x2ac/0x3d0 mm/filemap.c:691 filemap_invalidate_pages mm/filemap.c:2806 [inline] kiocb_invalidate_pages+0xb2/0x140 mm/filemap.c:2825 __iomap_dio_rw+0xb56/0x24f0 fs/iomap/direct-io.c:703 iomap_dio_rw+0x46/0xa0 fs/iomap/direct-io.c:823 ext4_dio_write_iter fs/ext4/file.c:575 [inline] ext4_file_write_iter+0x18d8/0x1da0 fs/ext4/file.c:716 iter_file_splice_write+0xbdf/0x1530 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1158 splice_direct_to_actor+0x595/0xc90 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x281/0x3d0 fs/splice.c:1227 do_sendfile+0x582/0x8d0 fs/read_write.c:1368 __do_sys_sendfile64 fs/read_write.c:1429 [inline] __se_sys_sendfile64+0x17e/0x1e0 fs/read_write.c:1415 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f689838d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f68991a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f68985a6080 RCX: 00007f689838d169 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007f689840e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000fffe7e R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f68985a6080 R15: 00007ffde0f9c9f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3e44/0x3e50 fs/ext4/inode.c:2622 Code: f0 8e 4c 89 f2 e8 fc 12 be 02 e9 83 fb ff ff e8 c2 24 3f ff 90 0f 0b e8 ba 24 3f ff 90 0f 0b e8 12 cd ae 09 e8 ad 24 3f ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003446840 EFLAGS: 00010287 RAX: ffffffff82845593 RBX: 0000004000000000 RCX: 0000000000080000 RDX: ffffc9001abfa000 RSI: 000000000000173e RDI: 000000000000173f RBP: ffffc90003446c50 R08: ffffffff82841cc3 R09: 1ffff1100f524da9 R10: dffffc0000000000 R11: ffffed100f524daa R12: 0000000000000001 R13: ffffc90003446f60 R14: 0000004210000000 R15: ffffc90003446cc0 FS: 00007f68991a26c0(0000) GS:ffff888124f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd1f67cff8 CR3: 00000000298a0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400