------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2563! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 6876 Comm: syz-executor.5 Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ext4_do_writepages+0x2572/0x3250 fs/ext4/inode.c:2563 Code: 48 c1 ea 03 80 3c 02 00 0f 85 44 0c 00 00 48 c7 44 24 28 cc d7 03 00 48 8b 44 24 08 48 8b 18 e9 c3 dc ff ff e8 df cf 46 ff 90 <0f> 0b e8 d7 cf 46 ff 48 8b 4c 24 70 41 89 dc 48 b8 00 00 00 00 00 RSP: 0018:ffffc9001106f7c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806c0f0a50 RCX: ffffffff8248209a RDX: ffff88805e0f9e00 RSI: ffffffff824834e1 RDI: 0000000000000007 RBP: ffffc9001106f9d0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88802eac2638 R14: 0000000000000001 R15: 0000000000400040 FS: 0000555579746480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad219ad988 CR3: 0000000061616000 CR4: 0000000000350ef0 Call Trace: ext4_writepages+0x303/0x730 fs/ext4/inode.c:2768 do_writepages+0x1a6/0x7f0 mm/page-writeback.c:2612 filemap_fdatawrite_wbc mm/filemap.c:397 [inline] filemap_fdatawrite_wbc+0x148/0x1c0 mm/filemap.c:387 __filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:430 ext4_alloc_da_blocks+0x202/0x2c0 fs/ext4/inode.c:3072 ext4_release_file+0x17c/0x370 fs/ext4/file.c:169 __fput+0x273/0xb80 fs/file_table.c:422 __fput_sync+0x47/0x50 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1541 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd28dc7cd9a 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:00007ffed1ce0e30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fd28dc7cd9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007fd28ddad980 R08: 0000001b32320000 R09: 00000000000016db R10: 00000000813d176d R11: 0000000000000293 R12: 00000000000398c6 R13: 0000000000039845 R14: 00007ffed1ce0ff0 R15: 00007fd28dc34cb0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x2572/0x3250 fs/ext4/inode.c:2563 Code: 48 c1 ea 03 80 3c 02 00 0f 85 44 0c 00 00 48 c7 44 24 28 cc d7 03 00 48 8b 44 24 08 48 8b 18 e9 c3 dc ff ff e8 df cf 46 ff 90 <0f> 0b e8 d7 cf 46 ff 48 8b 4c 24 70 41 89 dc 48 b8 00 00 00 00 00 RSP: 0018:ffffc9001106f7c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806c0f0a50 RCX: ffffffff8248209a RDX: ffff88805e0f9e00 RSI: ffffffff824834e1 RDI: 0000000000000007 RBP: ffffc9001106f9d0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88802eac2638 R14: 0000000000000001 R15: 0000000000400040 FS: 0000555579746480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020041000 CR3: 0000000061616000 CR4: 0000000000350ef0