EXT4-fs error (device loop2): ext4_validate_block_bitmap:441: comm syz-executor.2: bg 0: block 64: padding at end of block bitmap is not set ================================================================== BUG: KCSAN: data-race in data_alloc / data_push_tail write to 0xffffffff86ecce48 of 8 bytes by task 24832 on cpu 1: data_alloc+0x216/0x2c0 kernel/printk/printk_ringbuffer.c:1074 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2228 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __ext4_msg+0x18a/0x1a0 fs/ext4/super.c:1006 ext4_check_feature_compatibility+0xde/0x5e0 fs/ext4/super.c:4673 __ext4_fill_super fs/ext4/super.c:5292 [inline] ext4_fill_super+0x21b6/0x39a0 fs/ext4/super.c:5712 get_tree_bdev+0x272/0x300 fs/super.c:1598 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5744 vfs_get_tree+0x51/0x1b0 fs/super.c:1771 do_new_mount+0x203/0x660 fs/namespace.c:3337 path_mount+0x496/0xb30 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff86ecce48 of 8 bytes by task 24831 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2228 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __ext4_error+0x21c/0x310 fs/ext4/super.c:838 ext4_validate_block_bitmap+0x95b/0x990 fs/ext4/balloc.c:440 ext4_wait_block_bitmap+0xeb/0x150 fs/ext4/balloc.c:591 ext4_mb_init_cache+0x41c/0xcc0 fs/ext4/mballoc.c:1330 ext4_mb_init_group+0x1c5/0x5b0 fs/ext4/mballoc.c:1520 ext4_mb_load_buddy_gfp+0x85f/0xf50 fs/ext4/mballoc.c:1590 ext4_mb_clear_bb fs/ext4/mballoc.c:6421 [inline] ext4_free_blocks+0x744/0x1350 fs/ext4/mballoc.c:6615 ext4_remove_blocks fs/ext4/extents.c:2545 [inline] ext4_ext_rm_leaf fs/ext4/extents.c:2710 [inline] ext4_ext_remove_space+0x16ba/0x2c80 fs/ext4/extents.c:2958 ext4_ext_truncate+0xc4/0x140 fs/ext4/extents.c:4408 ext4_truncate+0x775/0xb10 fs/ext4/inode.c:4169 ext4_evict_inode+0x8b3/0xdc0 fs/ext4/inode.c:258 evict+0x1aa/0x410 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput+0x42c/0x5b0 fs/inode.c:1801 ext4_process_orphan+0x1a9/0x1c0 fs/ext4/orphan.c:360 ext4_orphan_cleanup+0x669/0x9b0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5591 [inline] ext4_fill_super+0x3660/0x39a0 fs/ext4/super.c:5712 get_tree_bdev+0x272/0x300 fs/super.c:1598 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5744 vfs_get_tree+0x51/0x1b0 fs/super.c:1771 do_new_mount+0x203/0x660 fs/namespace.c:3337 path_mount+0x496/0xb30 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x000000010000d4cd -> 0x000000010000e51a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 24831 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 ================================================================== EXT4-fs error (device loop2) in ext4_mb_clear_bb:6513: Corrupt filesystem EXT4-fs (loop2): 1 orphan inode deleted syz-executor.2 (24831) used greatest stack depth: 8704 bytes left