================================================================== BUG: KCSAN: data-race in __se_sys_perf_event_open / find_get_context write to 0xffff888237c2d520 of 4 bytes by task 6732 on cpu 1: find_get_context+0x310/0x5c0 kernel/events/core.c:4612 __do_sys_perf_event_open kernel/events/core.c:12092 [inline] __se_sys_perf_event_open+0x85e/0x2740 kernel/events/core.c:11928 __x64_sys_perf_event_open+0x63/0x70 kernel/events/core.c:11928 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c2d520 of 4 bytes by task 6735 on cpu 0: perf_unpin_context kernel/events/core.c:1520 [inline] __do_sys_perf_event_open kernel/events/core.c:12323 [inline] __se_sys_perf_event_open+0x1be2/0x2740 kernel/events/core.c:11928 __x64_sys_perf_event_open+0x63/0x70 kernel/events/core.c:11928 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6735 Comm: syz-executor.5 Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================