================================================================== BUG: KCSAN: data-race in __skb_wait_for_more_packets / unix_release_sock write to 0xffff888102da226a of 1 bytes by task 9709 on cpu 0: unix_release_sock+0x29a/0x6e0 net/unix/af_unix.c:548 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 read to 0xffff888102da226a of 1 bytes by task 9790 on cpu 1: __skb_wait_for_more_packets+0xdd/0x2e0 net/core/datagram.c:106 unix_dgram_recvmsg+0x1d2/0x870 net/unix/af_unix.c:2113 unix_seqpacket_recvmsg+0x5a/0x70 net/unix/af_unix.c:2066 ____sys_recvmsg+0x15d/0x310 include/linux/uio.h:234 ___sys_recvmsg net/socket.c:2611 [inline] do_recvmmsg+0x34c/0x9e0 net/socket.c:2705 __sys_recvmmsg net/socket.c:2784 [inline] __do_sys_recvmmsg net/socket.c:2807 [inline] __se_sys_recvmmsg net/socket.c:2800 [inline] __x64_sys_recvmmsg+0xcf/0x150 net/socket.c:2800 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9790 Comm: syz-executor.5 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================