================================================================== BUG: KCSAN: data-race in fasync_remove_entry / kill_fasync write to 0xffff888134c940d8 of 8 bytes by task 14574 on cpu 1: fasync_remove_entry+0xd5/0x140 fs/fcntl.c:895 fasync_helper+0x92/0xc0 fs/fcntl.c:994 sock_fasync+0x5c/0xc0 net/socket.c:1343 __fput+0x4dd/0x520 fs/file_table.c:308 ____fput+0x11/0x20 fs/file_table.c:344 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888134c940d8 of 8 bytes by task 14573 on cpu 0: kill_fasync+0x20/0x160 fs/fcntl.c:1033 sock_wake_async+0xea/0x100 sk_wake_async include/net/sock.h:2444 [inline] unix_release_sock+0x38d/0x6a0 net/unix/af_unix.c:612 unix_release+0x4e/0x70 net/unix/af_unix.c:990 __sock_release net/socket.c:650 [inline] sock_close+0x6c/0x150 net/socket.c:1318 __fput+0x295/0x520 fs/file_table.c:311 ____fput+0x11/0x20 fs/file_table.c:344 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888135f38660 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 14573 Comm: syz-executor.2 Not tainted 5.17.0-rc1-syzkaller-00339-g169387e2aa29-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================