================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff8881020c9768 of 4 bytes by task 22666 on cpu 0: unix_release_sock+0x30a/0x6a0 net/unix/af_unix.c:609 unix_release+0x4e/0x70 net/unix/af_unix.c:990 __sock_release net/socket.c:650 [inline] sock_close+0x6c/0x150 net/socket.c:1318 __fput+0x295/0x520 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881020c9768 of 4 bytes by task 22678 on cpu 1: sock_wait_for_wmem net/core/sock.c:2538 [inline] sock_alloc_send_pskb+0x371/0x4e0 net/core/sock.c:2579 unix_dgram_sendmsg+0x428/0x15d0 net/unix/af_unix.c:1896 unix_seqpacket_sendmsg+0xcc/0x110 net/unix/af_unix.c:2346 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x39a/0x510 net/socket.c:2413 __sys_sendmsg_sock+0x25/0x30 net/socket.c:2479 io_sendmsg fs/io_uring.c:4953 [inline] io_issue_sqe+0x474a/0x98c0 fs/io_uring.c:6730 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6875 io_worker_handle_work+0x4ca/0xbd0 fs/io-wq.c:576 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:632 ret_from_fork+0x1f/0x30 value changed: 0x00000000 -> 0x00000068 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22678 Comm: iou-wrk-22667 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================