In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: account only unread bytes in read_skb() After a partial stream… (CVE-2026-99062)
Description
A vulnerability in the Linux kernel's vsock/virtio subsystem related to incorrect accounting of unread bytes in the read_skb() function has been resolved. The flaw caused the rx_bytes counter to underflow after partial stream receives, leading to incorrect socket status reporting and potentially hiding queued data until additional bytes arrived. This issue was identified during a manual source audit following a previous related vulnerability (CVE-2024-50169).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's vsock/virtio code involved improper accounting of unread bytes in the read_skb() function. After a partial stream receive, the rx_bytes counter tracked only the unread suffix, while buf_used and peer credit counters still covered the entire packet length. The function virtio_transport_read_skb() dequeued the packet but incorrectly passed the full packet length for both counters, causing rx_bytes to underflow. This led to erroneous socket status reports such as negative byte counts, empty receive returns, and misleading poll results. The fix adjusts rx_bytes to subtract only the skb->len minus the VSOCK offset, maintaining balanced counters and ensuring all queued data is exposed immediately.
Potential Impact
The vulnerability caused incorrect socket receive queue accounting, which could result in negative byte counts reported by SIOCINQ, empty receive returns (ELOOP), and misleading poll notifications indicating data availability when none was present. This could disrupt applications relying on accurate socket state information, potentially leading to logic errors or stalled data processing. There is no indication of code execution or privilege escalation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the accounting logic in the vsock/virtio read_skb() function. Users should update to the patched kernel versions once available. Since this is a kernel-level fix, applying the official kernel update from the vendor or distribution is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q643-38mv-p69j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-99062"]
Threat ID: 6adbaacbd73cc49347b204f0
Added to database: 10/23/2026, 18:43:23 UTC
Last enriched: 10/23/2026, 18:49:38 UTC
Last updated: 10/24/2026, 01:05:14 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.