EXT4-fs error (device loop2): ext4_mb_generate_buddy:1144: group 0, block bitmap and bg descriptor inconsistent: 8192 vs 0 free clusters EXT4-fs error (device loop2): ext4_do_update_inode:5097: inode #3: comm syz-executor.2: corrupted inode contents ===================================================== BUG: KMSAN: uninit-value in va_format lib/vsprintf.c:1693 [inline] BUG: KMSAN: uninit-value in pointer+0x1b1c/0x2060 lib/vsprintf.c:2435 va_format lib/vsprintf.c:1693 [inline] pointer+0x1b1c/0x2060 lib/vsprintf.c:2435 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2809 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2135 vprintk_emit+0x25c/0x950 kernel/printk/printk.c:2229 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2256 vprintk+0x15f/0x180 kernel/printk/printk_safe.c:50 _printk+0x18d/0x1cf kernel/printk/printk.c:2266 __ext4_error_inode+0x884/0xcd0 fs/ext4/super.c:789 __ext4_mark_inode_dirty+0x243/0xd00 fs/ext4/inode.c:5893 ext4_dirty_inode+0x1c2/0x210 fs/ext4/inode.c:5919 __mark_inode_dirty+0x15d/0x1330 fs/fs-writeback.c:2399 mark_inode_dirty_sync include/linux/fs.h:2456 [inline] dquot_free_space include/linux/quotaops.h:382 [inline] dquot_free_block include/linux/quotaops.h:392 [inline] ext4_free_blocks+0x4eb3/0x5f10 fs/ext4/mballoc.c:6084 ext4_remove_blocks+0x1551/0x20e0 fs/ext4/extents.c:2523 ext4_ext_rm_leaf+0x159a/0x3260 fs/ext4/extents.c:2707 ext4_ext_remove_space+0x1cd9/0x4190 fs/ext4/extents.c:2955 ext4_ext_truncate+0x36f/0x4f0 fs/ext4/extents.c:4417 ext4_truncate+0x1a83/0x25f0 fs/ext4/inode.c:4201 ext4_evict_inode+0x2124/0x2d10 fs/ext4/inode.c:287 evict+0x4f4/0xdd0 fs/inode.c:590 iput_final fs/inode.c:1670 [inline] iput+0xc53/0x1100 fs/inode.c:1696 ext4_quota_enable fs/ext4/super.c:6333 [inline] ext4_enable_quotas+0x8e0/0xc70 fs/ext4/super.c:6356 ext4_orphan_cleanup+0x93a/0x20a0 fs/ext4/orphan.c:432 ext4_fill_super+0x10600/0x113a0 fs/ext4/super.c:4964 mount_bdev+0x626/0x920 fs/super.c:1370 ext4_mount+0xc9/0xe0 fs/ext4/super.c:6523 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:610 vfs_get_tree+0xd8/0x5d0 fs/super.c:1500 do_new_mount+0x7b5/0x16f0 fs/namespace.c:2988 path_mount+0x1021/0x28b0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x8a8/0x9d0 fs/namespace.c:3516 __ia32_sys_mount+0x157/0x1b0 fs/namespace.c:3516 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Local variable report.i created at: fsnotify_sb_error include/linux/fsnotify.h:345 [inline] __ext4_error_inode+0x387/0xcd0 fs/ext4/super.c:795 ext4_do_update_inode fs/ext4/inode.c:5097 [inline] ext4_mark_iloc_dirty+0xba8/0x1d40 fs/ext4/inode.c:5694 CPU: 0 PID: 6574 Comm: syz-executor.2 Tainted: G W 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================