EXT4-fs error (device loop1): ext4_mb_generate_buddy:1152: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2722! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7036 Comm: syz-executor.1 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : ext4_writepages+0x35d8/0x36fc fs/ext4/inode.c:2721 lr : ext4_writepages+0x35d8/0x36fc fs/ext4/inode.c:2721 sp : ffff80001d1d7280 x29: ffff80001d1d7640 x28: ffff80001d1d7540 x27: ffff80001d1d78c0 x26: ffff0000ec2b7428 x25: 0000000000000001 x24: ffff800011be61c0 x23: ffff0000d9eba000 x22: ffff80001d1d7460 x21: dfff800000000000 x20: ffff0000ec2b6df8 x19: 000000d410000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eaf20 x15: 0000000000000002 x14: 1ffff0000292806a x13: dfff800000000000 x12: 000000007271a9f1 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c239d1c0 x8 : ffff800008d9b96c x7 : ffff800008d98524 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000001 x2 : 0000000000000000 x1 : 0000008000000000 x0 : 0000000000000000 Call trace: ext4_writepages+0x35d8/0x36fc fs/ext4/inode.c:2721 do_writepages+0x39c/0x5ec mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x1c8/0x228 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_flush+0x100/0x148 mm/filemap.c:466 ext4_alloc_da_blocks+0x11c/0x330 fs/ext4/inode.c:3128 ext4_release_file+0x68/0x2dc fs/ext4/file.c:141 __fput+0x30c/0x7f0 fs/file_table.c:280 ____fput+0x20/0x30 fs/file_table.c:308 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 17fff31d 97dca278 17fff364 97dca276 (d4210000) ---[ end trace 0b002093ca2387d3 ]---