Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187443; b=pay3kC57H5383wALiQsHlSfEbjcDLCIwCwvhVGXvf5FcRzRC+eLc/5xoeUpi8pnopOPb m8LnoNEjGW+BnB6JpAnfa5zbtSeFkbWZ9puPz+rU+sp9rPUH9FzTT/N/DVcm3bMib1Uzq uefezfwndaJ9Pv/muxWuGQ7AJeW/t0eYVKzQFD3qAmbdxdMyLmPxBzVHVplv2qB7+rMLX zflP4qx6HI4HLKEk3xSyYBgWms65p7KHuoExBkAm+UQzN5VUkCoHeKsnU9uEWWVBu5qlA wJ58LHYHdhgycqVXhvb16dX2fEPXsrdMLkIaN0H69C9W3p3COi1aKhYDRwAp8lVqoJA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187443; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=0AE3q62+cDrdcIIGng1YKUZeVuwy/CFb77BGlYd7deY=; b=3pZoZCvBSaTeXd6W+1JOa20c5PHGGqIBKHdNbjnYbU+Xa4DFaSCfdmLpkK3NccFCtjBc QD5iF2L+c+JiEAyHP/ukSnvFIrK7iHdA8Mrt9TBPt5FxoqSfU0vHczGvMTAbaBrKnJUo8 2Jre7SLdjxBl4DMAc/WcFyKwz/kWx8h3wE+ISR5OVsnhYeaVDYBrX+AHg6pi95bIKaEiu D5Oq7/9Aw2ZbSBAvzxgU37oXoeWd5U/UPtf0ocL81TuAEFJ3f7LRuLQXElB0qm5ziD+cA QB4xuzRu524k72Eg5Eu+OAFa+ARh3ye8yV9M5o9FsTuz8pTzmbWDoAK71pKU+RJAZ/g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=eugLi5Jz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90EED606A31C for ; Wed, 28 Oct 2026 11:37:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=eugLi5Jz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 744041F01825; Wed, 28 Oct 2026 11:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187443; bh=0AE3q62+cDrdcIIGng1YKUZeVuwy/CFb77BGlYd7deY=; h=From:To:Cc:Subject:Date:Reply-To; b=eugLi5Jzx7hXIEWOL667addpS52Rt4dUQn9XITE8swrAggQ/ymSKqhtB2T3pu+5OI C3xa+NfAGHZHtNqpA1uKxKbRCL1FfhCYqIgbI7RWL4/zAJXDJcUhwJPWpaQmLNJ181 O1LU3EIcZdNeJlU2cU/oqJN4t4+HjnUMQZWtWD/Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99123: vsock/virtio: validate packet source for connected sockets Date: Wed, 28 Oct 2026 11:35:10 +0100 Message-ID: <2026102857-CVE-2026-99123-fef2@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3318; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=d+QOtsVMhyOVq6/fnfTYb5gRWsuTIVIl9Vfad3vCIH8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz1/cr6Nd1mER5uu7TeTGjsmViQZNR/7qHQhYc6izs pQpYfbkjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIxDyGBZv6OStnrdyw2WLz T9t1LRzrXlokfGVY0FxUMXkL+641iZLtl28++bhEoEBjNwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: validate packet source for connected sockets virtio_transport_recv_pkt() looks up sockets first by the full source and destination tuple, then by destination only in the bound table. The fallback is needed for listening and connecting sockets, but sockets remain in the bound table after connect(), so it can also return a non-listening socket. The fallback does not validate the source address. In TCP_SYN_SENT, a RESPONSE from an unrelated source can transition the victim socket to TCP_ESTABLISHED while its stored remote address remains unchanged. Subsequent RW packets from that source are delivered through the same destination-only fallback. This was reproduced with capability-empty processes under different UIDs. The attacker discovered the target tuple through unprivileged AF_VSOCK sock_diag and caused the victim socket to read 16 attacker-chosen bytes; the intended peer-side socket read 0 of those 16 bytes. Add vsock_check_source() to validate the transport, source port and source CID against the peer stored in a non-listening socket. The local transport is the CID exception because its packets are generated internally with VMADDR_CID_LOCAL as their source, including connections using CID aliases. Use the helper after lock_sock() in the virtio receive path. The Linux kernel CVE team has assigned CVE-2026-99123 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 6.18.59 with commit 6cd829de69efd9ed3a53aa2421004a0396eb2bd7 Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 7.2.13 with commit e9bf92de436ba55f33eaa55d7008e68551123cfd Issue introduced in 4.8 with commit 06a8fc78367d070720af960dcecec917d3ae5f3b and fixed in 7.3 with commit dee44f41f206becb41c492899c1996cfd7f82a1b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99123 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/af_vsock.h net/vmw_vsock/af_vsock.c net/vmw_vsock/virtio_transport_common.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/6cd829de69efd9ed3a53aa2421004a0396eb2bd7 https://git.kernel.org/stable/c/e9bf92de436ba55f33eaa55d7008e68551123cfd https://git.kernel.org/stable/c/dee44f41f206becb41c492899c1996cfd7f82a1b