CVE-2026-99062
vsock/virtio: account only unread bytes in read_skb()
Fetching some sources has been requested. Reload in about a minute to see them.
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.
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: 7893a41deaf28b53036d4ea7cd9f7d54e8874dfc … < e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b affected: 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 … < 38bad3930b1185dd6c98db3dd342ddc123c6f3ef affected: 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 … < dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc affected: 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 … < a463f55c791b96cfd12df8b10ea737d45c80bb18 affected: 17bada47e9ac3621c28e0ffa89af8279fedea00a affected: 6.12.34 … < 6.12.113 affected: 6.15.3 … < 6.16 default: unaffected |
| Linux | Linux | affected: 6.16 unaffected: 0 … < 6.16 unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
vsock/virtio: account only unread bytes in read_skb()
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= 7893a41deaf28b53036d4ea7cd9f7d54e8874dfc, < e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b; >= 45ca7e9f0730ae36fc610e675b990e9cc9ca0714, < 38bad3930b1185dd6c98db3dd342ddc123c6f3ef; < dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc; < a463f55c791b96cfd12df8b10ea737d45c80bb18; >= 6.12.34, < 6.12.113; >= 6.15.3, < 6.16; >= 17bada47e9ac3621c28e0ffa89af8279fedea00a v6.12.112, v6.12.111, v6.12.110, v6.12.109, v6.12.108, v6.12.107, v6.12.106, v6.12.105, v6.12.104, v6.12.103, v6.12.102, v6.12.101, v6.12.100, v6.12.99, v6.12.98, v6.12.97, v6.12.96, v6.12.95, v6.12.94, v6.12.93, … (+68) | e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b, 38bad3930b1185dd6c98db3dd342ddc123c6f3ef, dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc, a463f55c791b96cfd12df8b10ea737d45c80bb18, 6.12.113, 6.16 | ||
| Linux | Kernel | < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.16.0, < 7.2.11 | 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (7)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/38bad3930b1185dd6c98db3dd342ddc123c6f3ef NVD, CNA, OSV
- https://git.kernel.org/stable/c/a463f55c791b96cfd12df8b10ea737d45c80bb18 NVD, CNA, OSV
- https://git.kernel.org/stable/c/dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc NVD, CNA, OSV
- https://git.kernel.org/stable/c/e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99062.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99062 OSV