================================================================== BUG: KCSAN: data-race in fasync_remove_entry / sock_wake_async write to 0xffff8881199ca418 of 8 bytes by task 31041 on cpu 1: fasync_remove_entry+0xcc/0x120 fs/fcntl.c:1005 fasync_helper+0x97/0xc0 fs/fcntl.c:1104 sock_fasync+0x58/0xc0 net/socket.c:1416 __fput+0x5e3/0x650 fs/file_table.c:462 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe4/0x100 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881199ca418 of 8 bytes by task 31055 on cpu 0: sock_wake_async+0x29/0x110 net/socket.c:1431 sk_wake_async_rcu include/net/sock.h:2521 [inline] unix_write_space+0x13b/0x140 net/unix/af_unix.c:607 sock_wfree+0x148/0x3c0 net/core/sock.c:2674 unix_destruct_scm+0xc3/0xf0 net/unix/af_unix.c:1955 skb_release_head_state+0xba/0x1a0 net/core/skbuff.c:1139 skb_release_all net/core/skbuff.c:1150 [inline] __kfree_skb+0x18/0x150 net/core/skbuff.c:1166 sk_skb_reason_drop+0xbd/0x270 net/core/skbuff.c:1204 kfree_skb_reason include/linux/skbuff.h:1275 [inline] unix_release_sock+0x64a/0x790 net/unix/af_unix.c:729 unix_release+0x58/0x80 net/unix/af_unix.c:1153 __sock_release net/socket.c:647 [inline] sock_close+0x68/0x150 net/socket.c:1391 __fput+0x29b/0x650 fs/file_table.c:465 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x131/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe4/0x100 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff8881042e47e0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 31055 Comm: syz.9.14348 Not tainted 6.16.0-rc6-syzkaller-00002-g155a3c003e55 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================