EXT4-fs error (device loop1): ext4_mb_generate_buddy:1220: group 0, block bitmap and bg descriptor inconsistent: 25 vs 4278190105 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2624! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6466 Comm: syz.1.59 Not tainted 6.15.0-rc6-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_do_writepages+0x3e47/0x3e50 fs/ext4/inode.c:2623 Code: c1 0f 8c 23 fd ff ff 4c 89 e7 e8 74 cf b0 ff e9 16 fd ff ff e8 8a 00 51 ff 90 0f 0b e8 82 00 51 ff 90 0f 0b e8 7a 00 51 ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003eaee60 EFLAGS: 00010283 RAX: ffffffff826ece06 RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000bf69000 RSI: 00000000000003df RDI: 00000000000003e0 RBP: ffffc90003eaf250 R08: ffff88807b096d4f R09: 1ffff1100f612da9 R10: dffffc0000000000 R11: ffffed100f612daa R12: ffffc90003eaf580 R13: ffffc90003eaf2a0 R14: 0000004000000000 R15: 0000000000000001 FS: 00007f51205956c0(0000) GS:ffff8881260fb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60790bae9c CR3: 0000000023b98000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x203/0x350 fs/ext4/inode.c:2829 do_writepages+0x3ae/0x7b0 mm/page-writeback.c:2656 filemap_fdatawrite_wbc mm/filemap.c:386 [inline] __filemap_fdatawrite_range mm/filemap.c:419 [inline] filemap_write_and_wait_range+0x217/0x310 mm/filemap.c:691 iomap_fiemap+0xe7/0x530 fs/iomap/fiemap.c:75 ioctl_fiemap fs/ioctl.c:220 [inline] do_vfs_ioctl+0x1638/0x1eb0 fs/ioctl.c:840 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f511f78e969 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:00007f5120595038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f511f9b5fa0 RCX: 00007f511f78e969 RDX: 0000200000000780 RSI: 00000000c020660b RDI: 0000000000000006 RBP: 00007f511f810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f511f9b5fa0 R15: 00007ffe6b14db68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x3e47/0x3e50 fs/ext4/inode.c:2623 Code: c1 0f 8c 23 fd ff ff 4c 89 e7 e8 74 cf b0 ff e9 16 fd ff ff e8 8a 00 51 ff 90 0f 0b e8 82 00 51 ff 90 0f 0b e8 7a 00 51 ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003eaee60 EFLAGS: 00010283 RAX: ffffffff826ece06 RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000bf69000 RSI: 00000000000003df RDI: 00000000000003e0 RBP: ffffc90003eaf250 R08: ffff88807b096d4f R09: 1ffff1100f612da9 R10: dffffc0000000000 R11: ffffed100f612daa R12: ffffc90003eaf580 R13: ffffc90003eaf2a0 R14: 0000004000000000 R15: 0000000000000001 FS: 00007f51205956c0(0000) GS:ffff8881260fb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5120553d58 CR3: 0000000023b98000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400