------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2564! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 8334 Comm: syz-executor.3 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ext4_do_writepages+0x3d38/0x3d40 fs/ext4/inode.c:2563 Code: 4f 8e 4c 89 f2 e8 38 5a 92 02 e9 ab fb ff ff e8 3e 80 3c ff 90 0f 0b e8 36 80 3c ff 90 0f 0b e8 6e 4a 2c 09 e8 29 80 3c ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000e117480 EFLAGS: 00010293 RAX: ffffffff8259dd67 RBX: 0000004000000000 RCX: ffff888028469e00 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000e117890 R08: ffffffff8259a543 R09: 1ffff1100c1e714a R10: dffffc0000000000 R11: ffffed100c1e714b R12: 0000000000000001 R13: 0000000000400040 R14: 0000006a10000000 R15: ffff888060f38cb0 FS: 00005555847b0480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 000000002ea80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2768 do_writepages+0x359/0x870 mm/page-writeback.c:2611 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] __filemap_fdatawrite mm/filemap.c:436 [inline] filemap_flush+0xdf/0x130 mm/filemap.c:463 ext4_release_file+0x81/0x300 fs/ext4/file.c:169 __fput+0x406/0x8b0 fs/file_table.c:422 __do_sys_close fs/open.c:1555 [inline] __se_sys_close fs/open.c:1540 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1540 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f97c8c7cd9a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fffb8d25c20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f97c8c7cd9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f97c8dad980 R08: 00007f97c8c00000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 000000000003b78d R13: 000000000003b75b R14: 00007fffb8d25de0 R15: 00007f97c8c34cb0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3d38/0x3d40 fs/ext4/inode.c:2563 Code: 4f 8e 4c 89 f2 e8 38 5a 92 02 e9 ab fb ff ff e8 3e 80 3c ff 90 0f 0b e8 36 80 3c ff 90 0f 0b e8 6e 4a 2c 09 e8 29 80 3c ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000e117480 EFLAGS: 00010293 RAX: ffffffff8259dd67 RBX: 0000004000000000 RCX: ffff888028469e00 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc9000e117890 R08: ffffffff8259a543 R09: 1ffff1100c1e714a R10: dffffc0000000000 R11: ffffed100c1e714b R12: 0000000000000001 R13: 0000000000400040 R14: 0000006a10000000 R15: ffff888060f38cb0 FS: 00005555847b0480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f67747ad440 CR3: 000000002ea80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400