================================================================== BUG: KCSAN: data-race in _prb_read_valid / data_alloc write to 0xffffffff86875f40 of 8 bytes by task 17383 on cpu 0: data_alloc+0x271/0x2b0 kernel/printk/printk_ringbuffer.c:1095 prb_reserve+0x808/0xaf0 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2326 vprintk_emit+0x178/0x650 kernel/printk/printk.c:2426 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 _fat_msg+0xa4/0xd0 fs/fat/misc.c:62 fat__get_entry fs/fat/dir.c:102 [inline] fat_get_entry+0x52b/0x5d0 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:885 [inline] fat_subdirs+0x59/0x190 fs/fat/dir.c:951 fat_read_root+0x316/0x360 fs/fat/inode.c:1347 fat_fill_super+0x15bf/0x1ce0 fs/fat/inode.c:1816 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1197 get_tree_bdev_flags+0x291/0x300 fs/super.c:1692 get_tree_bdev+0x1f/0x30 fs/super.c:1715 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1202 vfs_get_tree+0x54/0x1d0 fs/super.c:1815 do_new_mount+0x207/0x5e0 fs/namespace.c:3805 path_mount+0x4a4/0xb20 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4321 __x64_sys_mount+0x67/0x80 fs/namespace.c:4321 x64_sys_call+0x2b4d/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86875f40 of 16 bytes by task 2980 on cpu 1: desc_read kernel/printk/printk_ringbuffer.c:482 [inline] desc_read_finalized_seq kernel/printk/printk_ringbuffer.c:1874 [inline] prb_read kernel/printk/printk_ringbuffer.c:1922 [inline] _prb_read_valid+0x1bc/0x920 kernel/printk/printk_ringbuffer.c:2113 prb_read_valid+0x3c/0x60 kernel/printk/printk_ringbuffer.c:2185 syslog_print+0xeb/0x540 kernel/printk/printk.c:1633 do_syslog+0x52b/0x7e0 kernel/printk/printk.c:1785 __do_sys_syslog kernel/printk/printk.c:1877 [inline] __se_sys_syslog kernel/printk/printk.c:1875 [inline] __x64_sys_syslog+0x41/0x50 kernel/printk/printk.c:1875 x64_sys_call+0x2f36/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:104 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2980 Comm: klogd Not tainted 6.16.0-syzkaller-08685-g260f6f4fda93 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================