------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2844! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12169 Comm: syz.4.2609 Not tainted 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:ffff8881cde977a0 EFLAGS: 00010293 RAX: ffffffff81be57e3 RBX: 0000011410000000 RCX: ffff8881e9530fc0 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881cde97af0 R08: dffffc0000000000 R09: ffffed10395129fa R10: ffffed10395129fa R11: 1ffff110395129f9 R12: dffffc0000000000 R13: ffff8881cde97c60 R14: 0000010000000000 R15: ffff8881ca8950a0 FS: 0000555587058500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001540 CR3: 00000001d78d2000 CR4: 00000000003426a0 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:0x7f6e59fe15ca 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:00007ffd50b76c50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00007f6e59fe15ca RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f6e5a20bba0 R08: 0000000000000001 R09: 0000001850b76f5f R10: 00007f6e59e54000 R11: 0000000000000293 R12: 00007f6e5a209fac R13: 00007f6e5a209fa0 R14: ffffffffffffffff R15: 00007ffd50b76d80 Modules linked in: ---[ end trace cdc8109762d8f403 ]--- 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:ffff8881cde977a0 EFLAGS: 00010293 RAX: ffffffff81be57e3 RBX: 0000011410000000 RCX: ffff8881e9530fc0 RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000 RBP: ffff8881cde97af0 R08: dffffc0000000000 R09: ffffed10395129fa R10: ffffed10395129fa R11: 1ffff110395129f9 R12: dffffc0000000000 R13: ffff8881cde97c60 R14: 0000010000000000 R15: ffff8881ca8950a0 FS: 0000555587058500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3372895178 CR3: 00000001d78d2000 CR4: 00000000003426b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400