================================================================== BUG: KCSAN: data-race in __skb_wait_for_more_packets / unix_release_sock write to 0xffff888122efba6a of 1 bytes by task 28954 on cpu 1: unix_release_sock+0x512/0x670 net/unix/af_unix.c:548 unix_release+0x3a/0x60 net/unix/af_unix.c:867 __sock_release+0x85/0x160 net/socket.c:605 sock_close+0x1f/0x30 net/socket.c:1283 __fput+0x1e9/0x500 fs/file_table.c:280 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xba/0x120 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888122efba6a of 1 bytes by task 28957 on cpu 0: __skb_wait_for_more_packets+0x193/0x340 net/core/datagram.c:106 unix_dgram_recvmsg+0x18f/0xbf0 net/unix/af_unix.c:2121 unix_seqpacket_recvmsg+0x64/0x90 net/unix/af_unix.c:2074 sock_recvmsg_nosec net/socket.c:886 [inline] ____sys_recvmsg+0x343/0x350 net/socket.c:2583 ___sys_recvmsg+0xb2/0x100 net/socket.c:2627 do_recvmmsg+0x17a/0x540 net/socket.c:2725 __sys_recvmmsg+0x1f1/0x200 net/socket.c:2804 __do_sys_recvmmsg net/socket.c:2827 [inline] __se_sys_recvmmsg net/socket.c:2820 [inline] __x64_sys_recvmmsg+0x82/0xb0 net/socket.c:2820 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28957 Comm: syz-executor.2 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================