================================================================== BUG: KCSAN: data-race in __perf_event_overflow / fasync_remove_entry read to 0xffff8880a6093300 of 8 bytes by interrupt on cpu 1: __perf_event_overflow+0x11d/0x200 kernel/events/core.c:8429 perf_swevent_hrtimer+0x261/0x280 kernel/events/core.c:9813 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __read_once_size include/linux/compiler.h:232 [inline] __sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:192 arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] __check_object_size+0x37/0x346 mm/usercopy.c:258 check_object_size include/linux/thread_info.h:119 [inline] check_copy_size include/linux/thread_info.h:152 [inline] copy_to_iter include/linux/uio.h:135 [inline] simple_copy_to_iter+0x4c/0x80 net/core/datagram.c:515 __skb_datagram_iter+0xa8/0x460 net/core/datagram.c:423 skb_copy_datagram_iter+0x66/0x170 net/core/datagram.c:529 skb_copy_datagram_msg include/linux/skbuff.h:3489 [inline] netlink_recvmsg+0x1af/0x910 net/netlink/af_netlink.c:1975 sock_recvmsg_nosec net/socket.c:873 [inline] ____sys_recvmsg+0x387/0x3a0 net/socket.c:2551 ___sys_recvmsg+0xb2/0x100 net/socket.c:2595 do_recvmmsg+0x19a/0x5c0 net/socket.c:2693 __sys_recvmmsg+0x1ef/0x200 net/socket.c:2772 __do_sys_recvmmsg net/socket.c:2795 [inline] __se_sys_recvmmsg net/socket.c:2788 [inline] __x64_sys_recvmmsg+0x89/0xb0 net/socket.c:2788 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880a6093300 of 8 bytes by task 18291 on cpu 0: fasync_remove_entry+0xba/0x120 fs/fcntl.c:882 fasync_helper+0xcf/0xdc fs/fcntl.c:981 perf_fasync+0x6c/0xa0 kernel/events/core.c:6002 __fput+0x46a/0x520 fs/file_table.c:277 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18291 Comm: syz-executor.5 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================