EXT4-fs (loop5): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff86edc3b7 of 1 bytes by task 26322 on cpu 1: number+0x7d0/0xa90 lib/vsprintf.c:564 vsnprintf+0xa44/0xe20 lib/vsprintf.c:2890 vscnprintf+0x42/0x80 lib/vsprintf.c:2930 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2124 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2238 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_warning_inode+0x177/0x190 fs/ext4/super.c:1048 dx_probe+0xb69/0xc10 fs/ext4/namei.c:964 ext4_dx_find_entry fs/ext4/namei.c:1790 [inline] __ext4_find_entry+0x35a/0x10a0 fs/ext4/namei.c:1635 ext4_lookup_entry fs/ext4/namei.c:1771 [inline] ext4_lookup+0xc7/0x390 fs/ext4/namei.c:1839 __lookup_slow+0x17a/0x230 fs/namei.c:1693 lookup_slow fs/namei.c:1710 [inline] lookup_one_unlocked+0xcf/0x180 fs/namei.c:2806 lookup_one_positive_unlocked fs/namei.c:2835 [inline] lookup_positive_unlocked+0x2b/0x90 fs/namei.c:2875 dquot_quota_on_mount+0x3d/0xb0 fs/quota/dquot.c:2540 ext4_quota_on_mount fs/ext4/orphan.c:316 [inline] ext4_orphan_cleanup+0x3e9/0x9b0 fs/ext4/orphan.c:444 __ext4_fill_super fs/ext4/super.c:5582 [inline] ext4_fill_super+0x3660/0x39a0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2d0 fs/super.c:1619 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff86edc3b0 of 8 bytes by task 26329 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_msg+0x18a/0x1a0 fs/ext4/super.c:1006 ext4_check_descriptors fs/ext4/super.c:3321 [inline] ext4_group_desc_init+0xb07/0x1400 fs/ext4/super.c:4891 __ext4_fill_super fs/ext4/super.c:5305 [inline] ext4_fill_super+0x23c6/0x39a0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2d0 fs/super.c:1619 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000100035950 -> 0x203a32232065646f Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26329 Comm: syz-executor.5 Not tainted 6.7.0-syzkaller-04629-g3e7aeb78ab01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== [EXT4 FS bs=4096, gc=1, bpg=3008, ipg=32, mo=4015e018, mo2=0000] EXT4-fs (loop5): orphan cleanup on readonly fs EXT4-fs error (device loop5): ext4_ext_check_inode:520: inode #4: comm syz-executor.5: pblk 0 bad header/extent: too large eh_max - magic f30a, entries 1, max 3008(4), depth 0(0) EXT4-fs error (device loop5): ext4_quota_enable:7055: comm syz-executor.5: Bad quota inode: 4, type: 1 EXT4-fs warning (device loop5): ext4_enable_quotas:7096: Failed to enable quota tracking (type=1, err=-117, ino=4). Please run e2fsck to fix. EXT4-fs (loop5): Cannot turn on quotas: error -117