================================================================== BUG: KCSAN: data-race in fasync_remove_entry / sock_wake_async write to 0xffff8881322135d8 of 8 bytes by task 617 on cpu 0: fasync_remove_entry+0xd9/0x180 fs/fcntl.c:894 fasync_helper+0x92/0xc0 fs/fcntl.c:993 sock_fasync+0x5c/0xc0 net/socket.c:1283 __fput+0x49f/0x4e0 fs/file_table.c:277 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x151/0x170 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x40/0x50 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881322135d8 of 8 bytes by task 610 on cpu 1: sock_wake_async+0x26/0x100 net/socket.c:1298 sk_wake_async include/net/sock.h:2305 [inline] unix_write_space+0x11e/0x130 net/unix/af_unix.c:466 sock_wfree+0xaf/0x150 net/core/sock.c:2066 unix_destruct_scm+0x164/0x190 net/unix/scm.c:150 skb_release_head_state+0xb3/0x170 net/core/skbuff.c:712 skb_release_all net/core/skbuff.c:723 [inline] __kfree_skb+0x14/0x150 net/core/skbuff.c:739 kfree_skb+0x50/0x130 net/core/skbuff.c:757 unix_release_sock+0x575/0x6e0 net/unix/af_unix.c:568 unix_release+0x2f/0x50 net/unix/af_unix.c:859 __sock_release net/socket.c:599 [inline] sock_close+0x6c/0x150 net/socket.c:1258 __fput+0x25b/0x4e0 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0xae/0x130 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x151/0x170 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x40/0x50 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 610 Comm: syz-executor.1 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================