================================================================== BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_release_sock write to 0xffff88813e305278 of 1 bytes by task 6566 on cpu 1: unix_release_sock+0x2d0/0x700 net/unix/af_unix.c:565 unix_release+0x4e/0x70 net/unix/af_unix.c:949 __sock_release net/socket.c:649 [inline] sock_close+0x6c/0x150 net/socket.c:1314 __fput+0x295/0x520 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: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/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813e305278 of 1 bytes by task 6594 on cpu 0: sock_alloc_send_pskb+0x113/0x4e0 net/core/sock.c:2478 unix_dgram_sendmsg+0x4a4/0x1650 net/unix/af_unix.c:1811 unix_seqpacket_sendmsg+0xcc/0x110 net/unix/af_unix.c:2258 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x39a/0x510 net/socket.c:2409 __sys_sendmsg_sock+0x25/0x30 net/socket.c:2475 io_sendmsg fs/io_uring.c:4776 [inline] io_issue_sqe+0x25ae/0x67b0 fs/io_uring.c:6674 __io_queue_sqe+0x34/0x460 fs/io_uring.c:6960 io_req_task_submit fs/io_uring.c:2234 [inline] io_async_task_func+0x3bc/0x4d0 fs/io_uring.c:5524 tctx_task_work+0x275/0x4d0 fs/io_uring.c:2159 task_work_run+0xae/0x130 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0xf8/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/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00 -> 0x03 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6594 Comm: syz-executor.1 Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================