EXT4-fs (loop9): mounted filesystem without journal. Quota mode: none. EXT4-fs error (device loop9): ext4_read_block_bitmap_nowait:477: comm syz.9.326: Invalid block bitmap block 0 in block_group 0 EXT4-fs error (device loop9): ext4_read_block_bitmap_nowait:477: comm syz.9.326: Invalid block bitmap block 0 in block_group 0 ------------[ cut here ]------------ mb_load_buddy failed (-117) WARNING: CPU: 1 PID: 25621 at fs/ext4/mballoc.c:4313 ext4_discard_allocated_blocks+0xc4/0x190 fs/ext4/mballoc.c:4313 Modules linked in: CPU: 1 PID: 25621 Comm: syz.9.326 Not tainted 6.1.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_discard_allocated_blocks+0xc4/0x190 fs/ext4/mballoc.c:4313 Code: 12 ce ff ff 85 c0 74 29 48 c7 c7 f2 e4 8b 83 89 c6 e8 a0 9c 54 01 65 48 8b 04 25 28 00 00 00 48 3b 44 24 38 0f 85 c4 00 00 00 <0f> 0b e9 b3 00 00 00 4d 8b 7e 08 41 8b 5e 48 49 8b 87 60 06 00 00 RSP: 0018:ffffc9000e01b920 EFLAGS: 00010246 RAX: c540d093d4ccdc00 RBX: 0000000000000000 RCX: c540d093d4ccdc00 RDX: 0000000000000000 RSI: ffffffff838591ac RDI: 00000000ffffffff RBP: 0000000000000001 R08: 0000000000001fff R09: ffffffff83ca4080 R10: 0000000000005ffd R11: 00000000ffffdfff R12: ffff88811c1ca000 R13: ffff88811c1cc000 R14: ffff888110f8a088 R15: 0000000000000001 FS: 00007f934b87d6c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc76df5beb8 CR3: 0000000119ba8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_new_blocks+0x488/0xf70 fs/ext4/mballoc.c:-1 ext4_ext_map_blocks+0x82f/0x1e90 fs/ext4/extents.c:4340 ext4_map_blocks+0x2fe/0x640 fs/ext4/inode.c:679 _ext4_get_block+0x8d/0x140 fs/ext4/inode.c:822 __block_write_begin_int+0x162/0x6b0 fs/buffer.c:1991 ext4_write_begin+0x211/0x780 fs/ext4/inode.c:-1 generic_perform_write+0x9b/0x210 mm/filemap.c:3846 ext4_buffered_write_iter+0xdc/0x170 fs/ext4/file.c:285 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x30c/0x3f0 fs/read_write.c:584 ksys_write+0x6d/0xe0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f934a98e169 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:00007f934b87d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f934abb5fa0 RCX: 00007f934a98e169 RDX: 000000000000a000 RSI: 0000200000000780 RDI: 0000000000000005 RBP: 00007f934aa10a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f934abb5fa0 R15: 00007ffc4991ef78