================================================================== BUG: KCSAN: data-race in __skb_wait_for_more_packets / unix_release_sock write to 0xffff888101a42462 of 1 bytes by task 19889 on cpu 1: unix_release_sock+0x3c9/0x7b0 net/unix/af_unix.c:630 unix_release+0x4e/0x70 net/unix/af_unix.c:1041 __sock_release net/socket.c:650 [inline] sock_close+0x6c/0x150 net/socket.c:1365 __fput+0x245/0x570 fs/file_table.c:320 ____fput+0x11/0x20 fs/file_table.c:348 task_work_run+0xde/0x110 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:171 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888101a42462 of 1 bytes by task 19890 on cpu 0: __skb_wait_for_more_packets+0xe8/0x2f0 net/core/datagram.c:104 __unix_dgram_recvmsg+0x20c/0x8b0 net/unix/af_unix.c:2451 unix_dgram_recvmsg net/unix/af_unix.c:2535 [inline] unix_seqpacket_recvmsg+0xa1/0xb0 net/unix/af_unix.c:2404 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x1b1/0x1f0 net/socket.c:1086 call_read_iter include/linux/fs.h:2193 [inline] generic_file_splice_read+0xde/0x2b0 fs/splice.c:309 sock_splice_read+0xa5/0xb0 net/socket.c:1064 do_splice_to fs/splice.c:793 [inline] splice_file_to_pipe+0x237/0x360 fs/splice.c:1013 do_splice+0xc05/0xd90 fs/splice.c:1099 __do_splice fs/splice.c:1139 [inline] __do_sys_splice fs/splice.c:1346 [inline] __se_sys_splice+0x2a4/0x380 fs/splice.c:1328 __x64_sys_splice+0x74/0x80 fs/splice.c:1328 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00 -> 0x03 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 19890 Comm: syz-executor.0 Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================