------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2761! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1724 Comm: syz.7.351 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:ext4_writepages+0x30c2/0x30e0 fs/ext4/inode.c:2760 Code: 11 85 ff 84 db 75 31 e8 ac 0e 85 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 8e 0e 85 ff <0f> 0b e8 87 0e 85 ff e8 6e 1e 14 ff eb 93 e8 7b 0e 85 ff e8 62 1e RSP: 0018:ffffc90001177680 EFLAGS: 00010293 RAX: ffffffff81ec5e72 RBX: 0000009410000000 RCX: ffff88810eb85100 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900011779f0 R08: ffff888136deae17 R09: 1ffff11026dbd5c2 R10: dffffc0000000000 R11: ffffed1026dbd5c3 R12: dffffc0000000000 R13: ffff888130e3c000 R14: 0000008000000000 R15: 1ffff9200022eefc FS: 000055559317d500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f997fbe5300 CR3: 00000001345cb000 CR4: 00000000003506a0 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:0x7fa7d079c629 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:00007fffa6986158 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fa7d0a17da0 RCX: 00007fa7d079c629 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fa7d0a17da0 R08: 00007fa7d0a16038 R09: 0000000000000000 R10: 00000000003ffcc8 R11: 0000000000000246 R12: 00000000000132f5 R13: 00007fa7d0a1618c R14: 00000000000130bd R15: 00007fa7d0a16180 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x30c2/0x30e0 fs/ext4/inode.c:2760 Code: 11 85 ff 84 db 75 31 e8 ac 0e 85 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 8e 0e 85 ff <0f> 0b e8 87 0e 85 ff e8 6e 1e 14 ff eb 93 e8 7b 0e 85 ff e8 62 1e RSP: 0018:ffffc90001177680 EFLAGS: 00010293 RAX: ffffffff81ec5e72 RBX: 0000009410000000 RCX: ffff88810eb85100 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc900011779f0 R08: ffff888136deae17 R09: 1ffff11026dbd5c2 R10: dffffc0000000000 R11: ffffed1026dbd5c3 R12: dffffc0000000000 R13: ffff888130e3c000 R14: 0000008000000000 R15: 1ffff9200022eefc FS: 000055559317d500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 00000001345cb000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400