block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2809! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7099 Comm: syz.0.216 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10[ 182.599855][ T7099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:ext4_do_writepages+0x45f0/0x4600 fs/ext4/inode.c:2808 Code: c6 a0 31 fe 8a e8 10 e8 ba fe 90 0f 0b e8 68 0f 52 ff 4c 89 f7 48 c7 c6 80 35 fe 8a e8 f9 e7 ba fe 90 0f 0b e8 51 0f 52 ff 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000d716fc0 EFLAGS: 00010287 RAX: ffffffff826cb0bf RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000dc69000 RSI: 0000000000000773 RDI: 0000000000000774 RBP: ffffc9000d7173f0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1007a565f7 R12: 0000000000000001 R13: ffffc9000d717440 R14: 0000004000000000 R15: dffffc0000000000 FS: 00007f52896066c0(0000) GS:ffff888126ef9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f52895e4f98 CR3: 000000002d162000 CR4: 00000000003526f0 Call Trace: ext4_writepages+0x205/0x350 fs/ext4/inode.c:3025 do_writepages+0x32e/0x550 mm/page-writeback.c:2604 filemap_fdatawrite_wbc mm/filemap.c:389 [inline] __filemap_fdatawrite_range mm/filemap.c:422 [inline] __filemap_fdatawrite mm/filemap.c:428 [inline] filemap_flush+0x194/0x230 mm/filemap.c:473 ext4_rename fs/ext4/namei.c:3868 [inline] ext4_rename2+0xeab/0x2f50 fs/ext4/namei.c:4208 vfs_rename+0xb34/0xe80 fs/namei.c:5216 do_renameat2+0x6a2/0xa50 fs/namei.c:5364 __do_sys_renameat2 fs/namei.c:5398 [inline] __se_sys_renameat2 fs/namei.c:5395 [inline] __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5395 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f528b39efc9 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:00007f5289606038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f528b5f5fa0 RCX: 00007f528b39efc9 RDX: ffffffffffffff9c RSI: 0000200000000580 RDI: ffffffffffffff9c RBP: 00007f528b421f91 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f528b5f6038 R14: 00007f528b5f5fa0 R15: 00007fff81a75768 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x45f0/0x4600 fs/ext4/inode.c:2808 Code: c6 a0 31 fe 8a e8 10 e8 ba fe 90 0f 0b e8 68 0f 52 ff 4c 89 f7 48 c7 c6 80 35 fe 8a e8 f9 e7 ba fe 90 0f 0b e8 51 0f 52 ff 90 <0f> 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000d716fc0 EFLAGS: 00010287 RAX: ffffffff826cb0bf RBX: 0000004210000000 RCX: 0000000000080000 RDX: ffffc9000dc69000 RSI: 0000000000000773 RDI: 0000000000000774 RBP: ffffc9000d7173f0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1007a565f7 R12: 0000000000000001 R13: ffffc9000d717440 R14: 0000004000000000 R15: dffffc0000000000 FS: 00007f52896066c0(0000) GS:ffff888126df9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd97848f52 CR3: 000000002d162000 CR4: 00000000003526f0