------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2761! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1556 Comm: syz.4.461 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:ext4_writepages+0x30c2/0x30e0 fs/ext4/inode.c:2760 Code: 9a 84 ff 84 db 75 31 e8 8c 97 84 ff 49 bc 00 00 00 00 00 fc ff df 4c 8b 7c 24 10 4c 8b 6c 24 40 e9 08 d3 ff ff e8 6e 97 84 ff <0f> 0b e8 67 97 84 ff e8 fe 9d 13 ff eb 93 e8 5b 97 84 ff e8 f2 9d RSP: 0018:ffffc90002377680 EFLAGS: 00010293 RAX: ffffffff81ecdee2 RBX: 0000009410000000 RCX: ffff88811eae1440 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900023779f0 R08: ffff88813609ae17 R09: 1ffff11026c135c2 R10: dffffc0000000000 R11: ffffed1026c135c3 R12: dffffc0000000000 R13: ffff888109d64000 R14: 0000008000000000 R15: 1ffff9200046eefc FS: 00005555885c7500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80eded8d58 CR3: 000000012b4f6000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x3a4/0x5f0 mm/page-writeback.c:2494 filemap_fdatawrite_wbc+0x128/0x190 mm/filemap.c:408 __filemap_fdatawrite_range mm/filemap.c:441 [inline] __filemap_fdatawrite mm/filemap.c:447 [inline] filemap_flush+0xe0/0x140 mm/filemap.c:474 ext4_alloc_da_blocks+0x7a/0x190 fs/ext4/inode.c:3165 ext4_release_file+0x84/0x320 fs/ext4/file.c:158 __fput+0x1fc/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1e1/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f98f1d9cdd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc559be468 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f98f2017da0 RCX: 00007f98f1d9cdd9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f98f2017da0 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000005e3400 R11: 0000000000000246 R12: 000000000000c77c R13: 00007f98f201609c R14: 000000000000c51e R15: 00007ffc559be570 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x30c2/0x30e0 fs/ext4/inode.c:2760 Code: 9a 84 ff 84 db 75 31 e8 8c 97 84 ff 49 bc 00 00 00 00 00 fc ff df 4c 8b 7c 24 10 4c 8b 6c 24 40 e9 08 d3 ff ff e8 6e 97 84 ff <0f> 0b e8 67 97 84 ff e8 fe 9d 13 ff eb 93 e8 5b 97 84 ff e8 f2 9d RSP: 0018:ffffc90002377680 EFLAGS: 00010293 RAX: ffffffff81ecdee2 RBX: 0000009410000000 RCX: ffff88811eae1440 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900023779f0 R08: ffff88813609ae17 R09: 1ffff11026c135c2 R10: dffffc0000000000 R11: ffffed1026c135c3 R12: dffffc0000000000 R13: ffff888109d64000 R14: 0000008000000000 R15: 1ffff9200046eefc FS: 00005555885c7500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92ae5ea2f8 CR3: 000000012b4f6000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400