EXT4-fs warning (device loop3): dx_probe:892: inode #2: comm syz-executor.3: dx entry: limit 0 != root limit 125 ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff86ed7a98 of 1 bytes by task 10076 on cpu 0: 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_setup_super+0x554/0x560 fs/ext4/super.c:3142 __ext4_fill_super fs/ext4/super.c:5503 [inline] ext4_fill_super+0x3051/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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff86ed7a98 of 8 bytes by task 10081 on cpu 1: 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_warning_inode+0x177/0x190 fs/ext4/super.c:1048 dx_probe+0xa3e/0xc10 fs/ext4/namei.c:890 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:1694 lookup_slow fs/namei.c:1711 [inline] lookup_one_unlocked+0xcf/0x180 fs/namei.c:2807 lookup_one_positive_unlocked fs/namei.c:2836 [inline] lookup_positive_unlocked+0x2b/0x90 fs/namei.c:2876 dquot_quota_on_mount+0x3d/0xb0 fs/quota/dquot.c:2540 ext4_quota_on_mount fs/ext4/orphan.c:316 [inline] ext4_orphan_cleanup+0x479/0x9b0 fs/ext4/orphan.c:444 __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:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000100030fc8 -> 0x3038613d6f6d202c Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 10081 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller-00159-ga4ab2706bb12 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== EXT4-fs warning (device loop3): dx_probe:965: inode #2: comm syz-executor.3: Corrupt directory, running e2fsck is recommended EXT4-fs (loop3): Cannot turn on journaled quota: type 1: error -2 EXT4-fs error (device loop3): ext4_free_branches:1030: inode #13: comm syz-executor.3: invalid indirect mapped block 1819239214 (level 1) EXT4-fs error (device loop3): ext4_validate_block_bitmap:441: comm syz-executor.3: bg 0: block 361: padding at end of block bitmap is not set EXT4-fs error (device loop3) in ext4_mb_clear_bb:6517: Corrupt filesystem EXT4-fs error (device loop3): ext4_clear_blocks:883: inode #13: comm syz-executor.3: attempt to clear invalid blocks 33619980 len 1 EXT4-fs error (device loop3): ext4_free_branches:1030: inode #13: comm syz-executor.3: invalid indirect mapped block 1819239214 (level 0) EXT4-fs (loop3): 1 truncate cleaned up