# CVE-2026-99062: vsock/virtio: account only unread bytes in read_skb()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-23T12:23:03.360Z
- Modified: 2026-10-23T13:17:30.020Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7893a41deaf28b53036d4ea7cd9f7d54e8874dfc before e4a0028b0d54b2c45e1dc8c0dd95fe3e9236f55b; from 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 before 38bad3930b1185dd6c98db3dd342ddc123c6f3ef; from 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 before dd4b2f88ee517f9629d0d3dbfced02ffbc33e2dc; from 45ca7e9f0730ae36fc610e675b990e9cc9ca0714 before a463f55c791b96cfd12df8b10ea737d45c80bb18; 17bada47e9ac3621c28e0ffa89af8279fedea00a; from 6.12.34 before 6.12.113; from 6.15.3 before 6.16; 6.16 (not affected: before 6.16; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-99062](https://www.cve.org/CVERecord?id=CVE-2026-99062), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-99062](https://nvd.nist.gov/vuln/detail/CVE-2026-99062), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-99062 · Whole record: https://cve.day/CVE-2026-99062.json · Rebuilt by cve.day 2026-11-25T22:59:46.964Z
