EXT4-fs error (device loop3): ext4_validate_block_bitmap:439: comm syz-executor.3: bg 0: block 80: padding at end of block bitmap is not set ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff86ec1f51 of 1 bytes by task 29481 on cpu 1: number+0x7d0/0xa90 lib/vsprintf.c:563 vsnprintf+0xa44/0xe20 lib/vsprintf.c:2884 vscnprintf+0x42/0x80 lib/vsprintf.c:2924 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2128 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2242 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2288 vprintk_default+0x26/0x30 kernel/printk/printk.c:2322 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2332 __ext4_error_inode+0x2d5/0x400 fs/ext4/super.c:861 __ext4_ext_check+0x4c5/0x870 fs/ext4/extents.c:504 ext4_ext_check_inode+0x46/0x50 fs/ext4/extents.c:520 __ext4_iget+0x19d2/0x1e70 fs/ext4/inode.c:4926 __ext4_fill_super fs/ext4/super.c:5473 [inline] ext4_fill_super+0x2f0b/0x3940 fs/ext4/super.c:5703 get_tree_bdev+0x272/0x300 fs/super.c:1577 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1750 do_new_mount+0x203/0x660 fs/namespace.c:3335 path_mount+0x496/0xb30 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffffff86ec1f50 of 8 bytes by task 29483 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:2232 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2288 vprintk_default+0x26/0x30 kernel/printk/printk.c:2322 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2332 __ext4_error+0x21c/0x310 fs/ext4/super.c:830 ext4_validate_block_bitmap+0x95b/0x990 fs/ext4/balloc.c:438 ext4_wait_block_bitmap+0xeb/0x150 fs/ext4/balloc.c:583 ext4_read_block_bitmap+0x40/0x70 fs/ext4/balloc.c:595 ext4_mb_clear_bb fs/ext4/mballoc.c:6486 [inline] ext4_free_blocks+0xa64/0x1a30 fs/ext4/mballoc.c:6730 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+0x774/0xb20 fs/ext4/inode.c:4161 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:5582 [inline] ext4_fill_super+0x35fa/0x3940 fs/ext4/super.c:5703 get_tree_bdev+0x272/0x300 fs/super.c:1577 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1750 do_new_mount+0x203/0x660 fs/namespace.c:3335 path_mount+0x496/0xb30 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000010002250d -> 0x6d6d6f63203a3223 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29483 Comm: syz-executor.3 Tainted: G W 6.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 ================================================================== EXT4-fs error (device loop3) in ext4_mb_clear_bb:6628: Corrupt filesystem EXT4-fs (loop3): 1 orphan inode deleted syz-executor.3 (29483) used greatest stack depth: 9144 bytes left