EXT4-fs error (device loop2): ext4_mb_generate_buddy:1315: group 0, block bitmap and bg descriptor inconsistent: 25 vs 4128793 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2803! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 6945 Comm: syz.2.152 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:ext4_do_writepages+0x46d9/0x46e0 fs/ext4/inode.c:2802 Code: c6 a0 6d 63 8b e8 07 fd ab fe 90 0f 0b e8 2f a1 48 ff 4c 89 f7 48 c7 c6 80 72 63 8b e8 f0 fc ab fe 90 0f 0b e8 18 a1 48 ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000625f020 EFLAGS: 00010287 RAX: ffffffff827bc4f8 RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc90006982000 RSI: 0000000000000ab6 RDI: 0000000000000ab7 RBP: ffffc9000625f430 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10097ab5fb R12: dffffc0000000000 R13: 0000000000000001 R14: 0000004000000000 R15: 1ffff110070f08f3 FS: 00007ff3f973e6c0(0000) GS:ffff88812643c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558bae9a1a10 CR3: 0000000037b24000 CR4: 00000000003526f0 Call Trace: ext4_writepages+0x241/0x3b0 fs/ext4/inode.c:3019 do_writepages+0x32e/0x550 mm/page-writeback.c:2554 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range mm/filemap.c:436 [inline] filemap_flush+0x1e4/0x2f0 mm/filemap.c:451 ext4_rename fs/ext4/namei.c:3866 [inline] ext4_rename2+0x105f/0x3110 fs/ext4/namei.c:4206 vfs_rename+0xa96/0xeb0 fs/namei.c:6026 filename_renameat2+0x539/0x9c0 fs/namei.c:6144 __do_sys_renameat2 fs/namei.c:6173 [inline] __se_sys_renameat2+0x5a/0x2c0 fs/namei.c:6168 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff3fb4ec799 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:00007ff3f973e028 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007ff3fb765fa0 RCX: 00007ff3fb4ec799 RDX: ffffffffffffff9c RSI: 00002000000007c0 RDI: ffffffffffffff9c RBP: 00007ff3fb582c99 R08: 0000000000000004 R09: 0000000000000000 R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff3fb766038 R14: 00007ff3fb765fa0 R15: 00007fff278ba158 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x46d9/0x46e0 fs/ext4/inode.c:2802 Code: c6 a0 6d 63 8b e8 07 fd ab fe 90 0f 0b e8 2f a1 48 ff 4c 89 f7 48 c7 c6 80 72 63 8b e8 f0 fc ab fe 90 0f 0b e8 18 a1 48 ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000625f020 EFLAGS: 00010287 RAX: ffffffff827bc4f8 RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc90006982000 RSI: 0000000000000ab6 RDI: 0000000000000ab7 RBP: ffffc9000625f430 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10097ab5fb R12: dffffc0000000000 R13: 0000000000000001 R14: 0000004000000000 R15: 1ffff110070f08f3 FS: 00007ff3f973e6c0(0000) GS:ffff88812643c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558bae9a1a10 CR3: 0000000037b24000 CR4: 00000000003526f0