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=1792759282; b=z33aQsRbXtbVI+eT+XmyTXIb0v30JQByd+AAWCuiVFhj/xkWc7s1kBsR/KFv0HAhCNtt XU/UO8rtsz2dMNMnVeS/uAXTV75WzlJe43j0Y7Bm/JVRdH0N15OETYW5L1FH3XGL2rl4G qgh+w1uzIm75OBmN8ZFIGX8QiKLnc94ANlSGW1MjROdx+l/DKedBxVg3YsT2bNd5NRSmg 9q233++5G5KGlpDBHgFUBCZXDr653/5f1V5UCnfSlU21vIEG8GLCiWBJNd3XIvzahWFrr GdotHFelIfmi+PTsktkQ91jkeK68dr6VYuWC8kyWg8lJrXJts8RLJTMudobNx81jRcg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759282; 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=Xr+mXtaD84ZnpdKT5T19qZ6HUoQeUB/f9AQuNSvBXFM=; b=5Yhrd9kh+qomLPcTVHZauV2i2my48++sl23E0xNSPTK0qSCbxntEEecahXd60clGnqzb fdcqAqI2xyEWSpDu2r1OxffRqrfavrX5Dn/gA2ncOxr+ASViAxgpwLwouQry4JjoQO8WH xMuasvztf959HLZb5SHi6yiRnCjJ6+4URACAk9Tl4tk1wzIcjzX/4Ctw6EHfpa6aTKOQQ TXamZjaTwrC98Er15mYiHMjP0XHhGVIji/nkccCcUiT9v2F86kye069CmDb+UmeqoJXhs dL2EjQFFhq0BoOoa+K7TwBqj9x4AMPK4Tt9xzgvl5JVfZXg0ajgdRzhpR8GrpaCl9Pw== 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=SrSxn9kp; 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 81CA3606A31B for ; Fri, 23 Oct 2026 12:41:22 +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=SrSxn9kp Received: by smtp.kernel.org (Postfix) with ESMTPSA id 354B01F01825; Fri, 23 Oct 2026 12:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759282; bh=Xr+mXtaD84ZnpdKT5T19qZ6HUoQeUB/f9AQuNSvBXFM=; h=From:To:Cc:Subject:Date:Reply-To; b=SrSxn9kp1IZjlqgbXGKjIY1BxI5ixTDnZnzkIvyy9ECFR0yzEpF4sHne6KgzNcMgD lKHWIWbxgPAeE4Y/GCq360RpQHy/CEvwPJFxnl7btGRsZaxiSGTOF9iJeFK0ysw61U CgRWtEBlKF4DcqsqDNwfTD5YKgyTTz0hoGyrQDYU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99062: vsock/virtio: account only unread bytes in read_skb() Date: Fri, 23 Oct 2026 14:21:04 +0200 Message-ID: <2026102331-CVE-2026-99062-f862@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=3251; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GbsNS+M0gFquVh9xhxb75SwX8acFQTn6d67Mx5mcNAI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A67M2XFK883v/WGdCTtT2TzFPpxlnfD+0qKrs46xX 1j9SrjpekcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMxHM2w4LDP80Xr6kLMUwy WeGTyeDNv5aTzYthwXk9/vusfdejf8YV68usnRtpWzalEwA= 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: account only unread bytes in read_skb() After a partial stream receive, rx_bytes tracks the unread suffix while buf_used and peer credit still cover the whole packet. virtio_transport_read_skb() dequeues that packet but passes pkt_len for both counters, underflowing rx_bytes. On a connected CID_LOCAL stream with an SK_SKB verdict, a 40-byte read from a 100-byte packet made SIOCINQ report -40, an empty recv return ELOOP, and poll report the empty socket readable. After verdict detach, receiving 40 bytes wrapped the counter to zero and hid those queued bytes until one more byte arrived. The fixed run kept the counter balanced and exposed all queued data immediately. This was found during an LLM-assisted manual source audit of VSOCK receive accounting while re-evaluating virtio_transport_read_skb() after CVE-2024-50169. Subtract only skb->len minus the VSOCK offset from rx_bytes. Retain the full packet length for buf_used and peer credit. The Linux kernel CVE team has assigned CVE-2026-99062 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.34 with commit 7893a41deaf28b53036d4ea7cd9f7d54e8874dfc and fixed in 6.12.113 with commit e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b Issue introduced in 6.16 with commit 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 and fixed in 6.18.57 with commit 38bad3930b1185dd6c98db3dd342ddc123c6f3ef Issue introduced in 6.16 with commit 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 and fixed in 7.2.11 with commit dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc Issue introduced in 6.16 with commit 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 and fixed in 7.3 with commit a463f55c791b96cfd12df8b10ea737d45c80bb18 Issue introduced in 6.15.3 with commit 17bada47e9ac3621c28e0ffa89af8279fedea00a 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-99062 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: 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/e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b https://git.kernel.org/stable/c/38bad3930b1185dd6c98db3dd342ddc123c6f3ef https://git.kernel.org/stable/c/dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc https://git.kernel.org/stable/c/a463f55c791b96cfd12df8b10ea737d45c80bb18