CVE-2024-50169

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
07/11/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> vsock: Update rx_bytes on read_skb()<br /> <br /> Make sure virtio_transport_inc_rx_pkt() and virtio_transport_dec_rx_pkt()<br /> calls are balanced (i.e. virtio_vsock_sock::rx_bytes doesn&amp;#39;t lie) after<br /> vsock_transport::read_skb().<br /> <br /> While here, also inform the peer that we&amp;#39;ve freed up space and it has more<br /> credit.<br /> <br /> Failing to update rx_bytes after packet is dequeued leads to a warning on<br /> SOCK_STREAM recv():<br /> <br /> [ 233.396654] rx_queue is empty, but rx_bytes is non-zero<br /> [ 233.396702] WARNING: CPU: 11 PID: 40601 at net/vmw_vsock/virtio_transport_common.c:589

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.4 (including) 6.6.59 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.6 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*