BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff86703b68 of 8 bytes by task 21873 on cpu 1: prb_reserve+0x740/0xb60 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2301 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 vprintk_default+0x26/0x30 kernel/printk/printk.c:2422 vprintk+0x75/0x80 kernel/printk/printk_safe.c:68 _printk+0x7a/0xa0 kernel/printk/printk.c:2432 bpf_get_probe_write_proto+0x8b/0x90 kernel/trace/bpf_trace.c:365 bpf_tracing_func_proto+0x596/0x790 kernel/trace/bpf_trace.c:1466 raw_tp_prog_func_proto+0x65/0xc0 kernel/trace/bpf_trace.c:1938 do_misc_fixups kernel/bpf/verifier.c:21234 [inline] bpf_check+0x76a1/0xcbf0 kernel/bpf/verifier.c:22464 bpf_prog_load+0xed4/0x1070 kernel/bpf/syscall.c:2846 __sys_bpf+0x463/0x7a0 kernel/bpf/syscall.c:5653 __do_sys_bpf kernel/bpf/syscall.c:5760 [inline] __se_sys_bpf kernel/bpf/syscall.c:5758 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5758 x64_sys_call+0x2625/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86703b68 of 8 bytes by task 3007 on cpu 0: desc_read kernel/printk/printk_ringbuffer.c:486 [inline] prb_first_seq kernel/printk/printk_ringbuffer.c:1957 [inline] _prb_read_valid+0x3bb/0xba0 kernel/printk/printk_ringbuffer.c:2114 prb_read_valid+0x3d/0x60 kernel/printk/printk_ringbuffer.c:2182 syslog_print+0x26f/0x760 kernel/printk/printk.c:1631 do_syslog+0x397/0x7e0 kernel/printk/printk.c:1766 __do_sys_syslog kernel/printk/printk.c:1858 [inline] __se_sys_syslog kernel/printk/printk.c:1856 [inline] __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1856 x64_sys_call+0x1677/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:104 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000000000000344b -> 0x000000000000544b Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3007 Comm: klogd Not tainted 6.12.0-rc5-syzkaller-00063-g0fc810ae3ae1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================