================================================================== BUG: KCSAN: data-race in fasync_remove_entry / sock_wake_async write to 0xffff8881005ff458 of 8 bytes by task 6987 on cpu 0: fasync_remove_entry+0xd2/0x130 fs/fcntl.c:909 fasync_helper+0x96/0xc0 fs/fcntl.c:1008 sock_fasync+0x60/0xd0 net/socket.c:1446 __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 0xffff8881005ff458 of 8 bytes by task 6988 on cpu 1: sock_wake_async+0x2a/0x120 net/socket.c:1461 sk_wake_async include/net/sock.h:2440 [inline] unix_release_sock+0x48a/0x770 net/unix/af_unix.c:713 unix_release+0x57/0x80 net/unix/af_unix.c:1112 __sock_release net/socket.c:659 [inline] sock_close+0x68/0x150 net/socket.c:1421 __fput+0x192/0x6f0 fs/file_table.c:422 ____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 value changed: 0xffff88810b4ddba0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6988 Comm: syz.4.1071 Not tainted 6.11.0-rc1-syzkaller-00043-g94ede2a3e913 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================