------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 645 Comm: syz.3.73 Tainted: G W 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:ext4_writepages+0x2f83/0x2fb0 fs/ext4/inode.c:2843 Code: 0f 94 c6 bf 02 00 00 00 e8 6a 29 a1 ff 84 db 75 2e e8 11 27 a1 ff 49 bc 00 00 00 00 00 fc ff df e9 47 f9 ff ff e8 fd 26 a1 ff <0f> 0b e8 f6 26 a1 ff 0f 0b e8 ef 26 a1 ff e8 ba ef 41 ff eb 9b e8 RSP: 0018:ffff8881e0aef7a0 EFLAGS: 00010293 RAX: ffffffff81be57e3 RBX: 0000011410000000 RCX: ffff8881e1b26e40 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e0aefaf0 R08: dffffc0000000000 R09: ffffed10397c9d33 R10: ffffed10397c9d33 R11: 1ffff110397c9d32 R12: dffffc0000000000 R13: ffff8881e0aefc60 R14: 0000010000000000 R15: ffff8881cbe4ea68 FS: 000055558ed00500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555829c24e8 CR3: 00000001e08c5000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x127/0x270 mm/page-writeback.c:2366 __filemap_fdatawrite_range+0x2bc/0x360 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x23/0x30 mm/filemap.c:456 ext4_alloc_da_blocks+0x7c/0x1f0 fs/ext4/inode.c:3325 ext4_release_file+0x84/0x320 fs/ext4/file.c:89 __fput+0x2a3/0x730 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x146/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x195/0x1b0 arch/x86/entry/common.c:163 prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194 syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x13e/0x170 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f079aa9f5ca 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 43 91 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 a3 91 02 00 8b 44 24 RSP: 002b:00007ffe3d7a0c90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f079aa9f5ca RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000a RBP: 00007f079acc9ba0 R08: 0000000000000001 R09: 0000001e3d7a0f9f R10: 00007f079a912000 R11: 0000000000000293 R12: 00007f079acc7fac R13: 00007f079acc7fa0 R14: ffffffffffffffff R15: 00007ffe3d7a0dc0 Modules linked in: ---[ end trace 42b7b7dfafa95156 ]--- RIP: 0010:ext4_writepages+0x2f83/0x2fb0 fs/ext4/inode.c:2843 Code: 0f 94 c6 bf 02 00 00 00 e8 6a 29 a1 ff 84 db 75 2e e8 11 27 a1 ff 49 bc 00 00 00 00 00 fc ff df e9 47 f9 ff ff e8 fd 26 a1 ff <0f> 0b e8 f6 26 a1 ff 0f 0b e8 ef 26 a1 ff e8 ba ef 41 ff eb 9b e8 RSP: 0018:ffff8881e0aef7a0 EFLAGS: 00010293 RAX: ffffffff81be57e3 RBX: 0000011410000000 RCX: ffff8881e1b26e40 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881e0aefaf0 R08: dffffc0000000000 R09: ffffed10397c9d33 R10: ffffed10397c9d33 R11: 1ffff110397c9d32 R12: dffffc0000000000 R13: ffff8881e0aefc60 R14: 0000010000000000 R15: ffff8881cbe4ea68 FS: 000055558ed00500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b781484bf CR3: 00000001e08c5000 CR4: 00000000003426b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400