EXT4-fs error (device loop6): ext4_mb_generate_buddy:1306: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2810! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 10350 Comm: syz.6.948 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:ext4_do_writepages+0x44fe/0x4500 fs/ext4/inode.c:2809 Code: c6 c0 1f 9f 8b e8 52 03 ad fe 90 0f 0b e8 1a b2 46 ff 4c 89 f7 48 c7 c6 a0 23 9f 8b e8 3b 03 ad fe 90 0f 0b e8 03 b2 46 ff 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 RSP: 0018:ffffc90012d77460 EFLAGS: 00010293 RAX: ffffffff827b065d RBX: 0000004a10000000 RCX: ffff88807bbf0000 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc90012d77870 R08: ffff8880562b89f7 R09: 1ffff1100ac5713e R10: dffffc0000000000 R11: ffffed100ac5713f R12: dffffc0000000000 R13: 0000000000000001 R14: 0000004000000000 R15: 1ffff1100bf650c7 FS: 000055557ff85500(0000) GS:ffff888125d25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000014f0 CR3: 0000000057aba000 CR4: 00000000003526f0 Call Trace: ext4_writepages+0x203/0x350 fs/ext4/inode.c:3026 do_writepages+0x32e/0x550 mm/page-writeback.c:2598 filemap_writeback mm/filemap.c:387 [inline] filemap_flush_range mm/filemap.c:436 [inline] filemap_flush+0x191/0x230 mm/filemap.c:451 ext4_release_file+0x82/0x310 fs/ext4/file.c:169 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0xff/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2d0/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb068f8f749 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:00007ffe1be41588 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000061a8d RCX: 00007fb068f8f749 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb0691e7da0 R08: 0000000000000001 R09: 0000001a1be4187f R10: 0000001b2f820000 R11: 0000000000000246 R12: 00007fb0691e5fac R13: 00007fb0691e5fa0 R14: ffffffffffffffff R15: 00007ffe1be416a0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x44fe/0x4500 fs/ext4/inode.c:2809 Code: c6 c0 1f 9f 8b e8 52 03 ad fe 90 0f 0b e8 1a b2 46 ff 4c 89 f7 48 c7 c6 a0 23 9f 8b e8 3b 03 ad fe 90 0f 0b e8 03 b2 46 ff 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 RSP: 0018:ffffc90012d77460 EFLAGS: 00010293 RAX: ffffffff827b065d RBX: 0000004a10000000 RCX: ffff88807bbf0000 RDX: 0000000000000000 RSI: 0000004000000000 RDI: 0000000000000000 RBP: ffffc90012d77870 R08: ffff8880562b89f7 R09: 1ffff1100ac5713e R10: dffffc0000000000 R11: ffffed100ac5713f R12: dffffc0000000000 R13: 0000000000000001 R14: 0000004000000000 R15: 1ffff1100bf650c7 FS: 000055557ff85500(0000) GS:ffff888125d25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000057aba000 CR4: 00000000003526f0