================================================================== BUG: KCSAN: data-race in unix_gc / wait_for_unix_gc write to 0xffffffff8458b113 of 1 bytes by task 3415 on cpu 0: unix_gc+0x827/0x8c0 net/unix/garbage.c:302 unix_release_sock+0x644/0x6f0 net/unix/af_unix.c:591 unix_release+0x2f/0x50 net/unix/af_unix.c:860 __sock_release net/socket.c:599 [inline] sock_close+0x6c/0x150 net/socket.c:1245 __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: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+0x156/0x190 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff8458b113 of 1 bytes by task 3442 on cpu 1: wait_for_unix_gc+0x7c/0x140 net/unix/garbage.c:198 unix_dgram_sendmsg+0x5f/0x1610 net/unix/af_unix.c:1633 unix_seqpacket_sendmsg+0xcc/0x110 net/unix/af_unix.c:2056 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2337 __sys_sendmsg_sock+0x25/0x30 net/socket.c:2403 io_sendmsg fs/io_uring.c:4372 [inline] io_issue_sqe+0x231a/0x6750 fs/io_uring.c:6140 io_wq_submit_work+0x113/0x270 fs/io_uring.c:6257 io_worker_handle_work+0x8cb/0xaf0 fs/io-wq.c:496 io_wqe_worker+0x1c5/0x550 fs/io-wq.c:545 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3442 Comm: iou-wrk-3421 Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================