================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff888115b7d470 of 8 bytes by task 5305 on cpu 0: fasync_remove_entry+0xd2/0x130 fs/fcntl.c:909 fasync_helper+0x96/0xc0 fs/fcntl.c:1008 perf_fasync+0x64/0x90 kernel/events/core.c:6706 __fput+0x68e/0x6f0 fs/file_table.c:419 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888115b7d470 of 8 bytes by interrupt on cpu 1: kill_fasync+0x24/0x150 fs/fcntl.c:1047 perf_event_wakeup kernel/events/core.c:6738 [inline] perf_pending_irq+0x1ed/0x260 kernel/events/core.c:6844 irq_work_single kernel/irq_work.c:221 [inline] irq_work_run_list kernel/irq_work.c:252 [inline] irq_work_run+0xdf/0x2c0 kernel/irq_work.c:261 __sysvec_irq_work+0x23/0x1a0 arch/x86/kernel/irq_work.c:22 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0x66/0x80 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 task_work_add+0x5/0x2e0 kernel/task_work.c:56 fput+0xdc/0x180 fs/file_table.c:482 fput_light include/linux/file.h:35 [inline] __sys_recvmsg+0x239/0x280 net/socket.c:2890 __do_sys_recvmsg net/socket.c:2898 [inline] __se_sys_recvmsg net/socket.c:2895 [inline] __x64_sys_recvmsg+0x46/0x50 net/socket.c:2895 x64_sys_call+0xb84/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:48 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff88810ed363c0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 5306 Comm: syz.2.557 Not tainted 6.11.0-rc3-syzkaller-00279-ge5fa841af679 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================