================================================================== BUG: KCSAN: data-race in probe_sched_switch / tracing_stop_cmdline_record read-write to 0xffffffff895f91e0 of 4 bytes by task 14611 on cpu 1: tracing_stop_sched_switch kernel/trace/trace_sched_switch.c:120 [inline] tracing_stop_cmdline_record+0x28/0xc0 kernel/trace/trace_sched_switch.c:140 __ftrace_event_enable_disable+0x323/0x4b0 kernel/trace/trace_events.c:848 ftrace_event_enable_disable kernel/trace/trace_events.c:934 [inline] ftrace_clear_events kernel/trace/trace_events.c:1057 [inline] ftrace_event_set_open+0xe6/0x200 kernel/trace/trace_events.c:2892 do_dentry_open+0x49f/0xa60 fs/open.c:996 vfs_open+0x37/0x1e0 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0xc01/0x10d0 fs/namei.c:5000 do_file_open+0x16c/0x290 fs/namei.c:5029 do_sys_openat2+0xa0/0x130 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1434 x64_sys_call+0x1f72/0x2550 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff895f91e0 of 4 bytes by task 14602 on cpu 0: probe_sched_switch+0x46/0xa0 kernel/trace/trace_sched_switch.c:32 __do_trace_sched_switch include/trace/events/sched.h:220 [inline] trace_sched_switch include/trace/events/sched.h:220 [inline] __schedule+0xc34/0xd20 kernel/sched/core.c:7273 preempt_schedule_common+0x12/0x40 kernel/sched/core.c:7455 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] _raw_spin_unlock_irqrestore+0x27/0x30 kernel/locking/spinlock.c:221 __unix_dgram_recvmsg+0x3a4/0x860 net/unix/af_unix.c:2615 unix_dgram_recvmsg+0x7e/0x90 net/unix/af_unix.c:2689 sock_recvmsg_nosec+0xc2/0xf0 net/socket.c:1151 ____sys_recvmsg+0x26f/0x280 net/socket.c:2931 ___sys_recvmsg+0x11f/0x3a0 net/socket.c:2975 do_recvmmsg+0x1e5/0x560 net/socket.c:3070 __sys_recvmmsg net/socket.c:3144 [inline] __do_sys_recvmmsg net/socket.c:3167 [inline] __se_sys_recvmmsg net/socket.c:3160 [inline] __x64_sys_recvmmsg+0xe5/0x170 net/socket.c:3160 x64_sys_call+0x77f/0x2550 arch/x86/include/generated/asm/syscalls_64.h:300 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000001 -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 14602 Comm: syz.3.4016 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ==================================================================