================================================================== BUG: KCSAN: data-race in __perf_event_overflow / fasync_remove_entry write to 0xffff888121217300 of 8 bytes by task 12089 on cpu 1: fasync_remove_entry+0xb7/0x120 fs/fcntl.c:882 fasync_helper+0xc9/0xd6 fs/fcntl.c:981 perf_fasync+0x64/0x90 kernel/events/core.c:6011 __fput+0x448/0x4f0 fs/file_table.c:277 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xf5/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/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+0x36e/0x390 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888121217300 of 8 bytes by interrupt on cpu 0: __perf_event_overflow+0x116/0x200 kernel/events/core.c:8438 perf_swevent_hrtimer+0x261/0x280 kernel/events/core.c:9822 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1119 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1144 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 should_watch kernel/kcsan/core.c:248 [inline] check_access kernel/kcsan/core.c:566 [inline] __tsan_read8+0xdc/0x100 kernel/kcsan/core.c:703 pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:643 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:55 [inline] do_raw_spin_unlock include/linux/spinlock.h:210 [inline] __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:175 [inline] _raw_spin_unlock_bh+0x1a/0x50 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] release_sock+0x12d/0x160 net/core/sock.c:2964 aead_check_key.isra.0+0x5b/0x250 crypto/algif_aead.c:410 aead_recvmsg_nokey+0x36/0x80 crypto/algif_aead.c:444 sock_recvmsg_nosec net/socket.c:886 [inline] ____sys_recvmsg+0x343/0x350 net/socket.c:2564 ___sys_recvmsg+0xb2/0x100 net/socket.c:2608 do_recvmmsg+0x17a/0x540 net/socket.c:2706 __sys_recvmmsg+0x1f1/0x200 net/socket.c:2785 __do_sys_recvmmsg net/socket.c:2808 [inline] __se_sys_recvmmsg net/socket.c:2801 [inline] __x64_sys_recvmmsg+0x82/0xb0 net/socket.c:2801 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12093 Comm: syz-executor.4 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================