================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff8880a1cfeaf8 of 8 bytes by task 17259 on cpu 1: 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:5917 __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:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a1cfeaf8 of 8 bytes by interrupt on cpu 0: kill_fasync+0x3f/0x180 fs/fcntl.c:1019 perf_event_wakeup+0x11f/0x160 kernel/events/core.c:5957 perf_pending_event+0x12d/0x170 kernel/events/core.c:6013 irq_work_run_list+0xea/0x140 kernel/irq_work.c:165 irq_work_run+0x48/0xa0 kernel/irq_work.c:180 smp_irq_work_interrupt+0x3f/0x100 arch/x86/kernel/irq_work.c:21 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:861 write_comp_data+0x0/0x70 kernel/kcov.c:112 tomoyo_check_acl+0xa7/0x270 security/tomoyo/domain.c:170 tomoyo_path_number_perm+0x272/0x3c0 security/tomoyo/file.c:733 tomoyo_file_ioctl+0x2c/0x40 security/tomoyo/tomoyo.c:335 security_file_ioctl+0x6d/0xa0 security/security.c:1409 ksys_ioctl+0x64/0xe0 fs/ioctl.c:711 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:718 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17260 Comm: syz-executor.0 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================