# CVE-2024-50169: vsock: Update rx_bytes on read_skb()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-11-07T09:31:45.804Z
- Modified: 2026-06-17T08:03:46.460Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

vsock: Update rx_bytes on read_skb()

Make sure virtio_transport_inc_rx_pkt() and virtio_transport_dec_rx_pkt()
calls are balanced (i.e. virtio_vsock_sock::rx_bytes doesn't lie) after
vsock_transport::read_skb().

While here, also inform the peer that we've freed up space and it has more
credit.

Failing to update rx_bytes after packet is dequeued leads to a warning on
SOCK_STREAM recv():

[  233.396654] rx_queue is empty, but rx_bytes is non-zero
[  233.396702] WARNING: CPU: 11 PID: 40601 at net/vmw_vsock/virtio_transport_common.c:589

(As written by CVE List.)

## Affected

- Linux Linux: from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before 66cd51de31c682a311c2fa25c580b7ea45859dd9; from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before e5ca2b98090b4bb1c393088c724af6c37812a829; from 634f1a7110b439c65fd8a809171c1d2d28bcea6f before 3543152f2d330141d9394d28855cb90b860091d2; 6.4 (not affected: before 6.4; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.4 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/66cd51de31c682a311c2fa25c580b7ea45859dd9> (patch)
- <https://git.kernel.org/stable/c/e5ca2b98090b4bb1c393088c724af6c37812a829> (patch)
- <https://git.kernel.org/stable/c/3543152f2d330141d9394d28855cb90b860091d2> (patch)

## Sources

- CVE List: [CVE-2024-50169](https://www.cve.org/CVERecord?id=CVE-2024-50169), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50169](https://nvd.nist.gov/vuln/detail/CVE-2024-50169), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50169 · Whole record: https://cve.day/CVE-2024-50169.json · Rebuilt by cve.day 2026-11-25T22:58:47.869Z
