================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff88812b361a6a of 1 bytes by task 4053 on cpu 1: unix_release_sock+0x2bf/0x6f0 net/unix/af_unix.c:557 unix_release+0x2f/0x50 net/unix/af_unix.c:867 __sock_release net/socket.c:647 [inline] sock_close+0x6c/0x150 net/socket.c:1293 __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+0x49/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812b361a6a of 1 bytes by task 4025 on cpu 0: sock_alloc_send_pskb+0x113/0x4e0 net/core/sock.c:2385 unix_dgram_sendmsg+0x478/0x1600 net/unix/af_unix.c:1676 unix_seqpacket_sendmsg+0xcc/0x110 net/unix/af_unix.c:2060 sock_sendmsg_nosec net/socket.c:702 [inline] sock_sendmsg net/socket.c:722 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2385 __sys_sendmsg_sock+0x25/0x30 net/socket.c:2451 io_sendmsg fs/io_uring.c:4407 [inline] io_issue_sqe+0x236e/0x69f0 fs/io_uring.c:6202 __io_queue_sqe+0xe7/0x360 fs/io_uring.c:6470 io_queue_sqe fs/io_uring.c:6513 [inline] io_submit_sqe+0x1695/0x3400 fs/io_uring.c:6668 io_submit_sqes+0x822/0xe50 fs/io_uring.c:6784 __do_sys_io_uring_enter fs/io_uring.c:9395 [inline] __se_sys_io_uring_enter+0x1c9/0x9e0 fs/io_uring.c:9338 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9338 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x03 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4025 Comm: syz-executor.3 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================