================================================================== BUG: KCSAN: data-race in __skb_wait_for_more_packets / unix_release_sock write to 0xffff888102944278 of 1 bytes by task 18092 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 0xffff888102944278 of 1 bytes by task 18101 on cpu 0: __skb_wait_for_more_packets+0xe8/0x2f0 net/core/datagram.c:106 __unix_dgram_recvmsg+0x218/0x8c0 net/unix/af_unix.c:2316 unix_dgram_recvmsg net/unix/af_unix.c:2401 [inline] unix_seqpacket_recvmsg+0x5a/0x70 net/unix/af_unix.c:2269 sock_recvmsg_nosec net/socket.c:944 [inline] sock_recvmsg net/socket.c:962 [inline] sock_read_iter+0x19d/0x1e0 net/socket.c:1035 call_read_iter include/linux/fs.h:2157 [inline] generic_file_splice_read+0x24f/0x330 fs/splice.c:311 sock_splice_read+0xa5/0xb0 net/socket.c:1013 do_splice_to fs/splice.c:796 [inline] splice_file_to_pipe+0x233/0x360 fs/splice.c:1018 do_splice+0xbe5/0xd50 fs/splice.c:1104 __do_splice fs/splice.c:1144 [inline] __do_sys_splice fs/splice.c:1350 [inline] __se_sys_splice+0x2bd/0x3a0 fs/splice.c:1332 __x64_sys_splice+0x74/0x80 fs/splice.c:1332 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 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: 18101 Comm: syz-executor.2 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================