------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:5417! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7702 Comm: syz.2.220 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:ext4_mb_release_inode_pa+0xa26/0xa30 fs/ext4/mballoc.c:5417 Code: 80 c2 03 38 c2 0f 8c 36 fe ff ff 48 89 df 41 89 ce e8 8e 8b ac ff 44 89 f1 e9 23 fe ff ff e8 c1 65 47 ff 0f 0b e8 ba 65 47 ff <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000bd57580 EFLAGS: 00010293 RAX: ffffffff8276a5b6 RBX: 0000000000000006 RCX: ffff888025d43c80 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000000 RBP: ffffc9000bd576d0 R08: ffff88807aa3268f R09: 1ffff1100f5464d1 R10: dffffc0000000000 R11: ffffed100f5464d2 R12: dffffc0000000000 R13: ffff888056ae71d0 R14: 0000000000000000 R15: 0000000000000efc FS: 00007f74e9aa86c0(0000) GS:ffff88812667f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000027000 CR3: 000000007f1bc000 CR4: 00000000003526f0 Call Trace: ext4_discard_preallocations+0x9d3/0xea0 fs/ext4/mballoc.c:5689 ext4_truncate+0x9ad/0x1140 fs/ext4/inode.c:4611 ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline] ext4_write_end+0x76a/0x9e0 fs/ext4/inode.c:1486 generic_perform_write+0x626/0x8f0 mm/filemap.c:4263 ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:299 ext4_file_write_iter+0x294/0x1bc0 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x588/0xb10 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x18f/0x220 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x86/0x2e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f74e8b8eec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f74e9aa8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f74e8de5fa0 RCX: 00007f74e8b8eec9 RDX: 00000000ffffff07 RSI: 0000200000000140 RDI: 0000000000000004 RBP: 00007f74e8c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f74e8de6038 R14: 00007f74e8de5fa0 R15: 00007fff216eeaa8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_release_inode_pa+0xa26/0xa30 fs/ext4/mballoc.c:5417 Code: 80 c2 03 38 c2 0f 8c 36 fe ff ff 48 89 df 41 89 ce e8 8e 8b ac ff 44 89 f1 e9 23 fe ff ff e8 c1 65 47 ff 0f 0b e8 ba 65 47 ff <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000bd57580 EFLAGS: 00010293 RAX: ffffffff8276a5b6 RBX: 0000000000000006 RCX: ffff888025d43c80 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000000 RBP: ffffc9000bd576d0 R08: ffff88807aa3268f R09: 1ffff1100f5464d1 R10: dffffc0000000000 R11: ffffed100f5464d2 R12: dffffc0000000000 R13: ffff888056ae71d0 R14: 0000000000000000 R15: 0000000000000efc FS: 00007f74e9aa86c0(0000) GS:ffff88812667f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000027000 CR3: 000000007f1bc000 CR4: 00000000003526f0