Skip to contentSkip to conversation

CVE-2026-53132: vsock/virtio: fix potential unbounded skb queue

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

vsock/virtio: fix potential unbounded skb queue

virtio_transport_inc_rx_pkt() checks vvs->rx_bytes + len > vvs->buf_alloc.

virtio_transport_recv_enqueue() skips coalescing for packets with VIRTIO_VSOCK_SEQ_EOM.

If fed with packets with len == 0 and VIRTIO_VSOCK_SEQ_EOM, a very large number of packets can be queued because vvs->rx_bytes stays at 0.

Fix this by estimating the skb metadata size:

(Number of skbs in the queue) * SKB_TRUESIZE(0)

The Linux kernel CVE team has assigned CVE-2026-53132 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.3 with commit 077706165717686a2a6a71405fef036cd5b37ae0 and fixed in 6.12.94 with commit 1eca304f97a34ed5e921e1f0e06c8b241f25bf12
	Issue introduced in 6.3 with commit 077706165717686a2a6a71405fef036cd5b37ae0 and fixed in 6.18.36 with commit 9bdc637fde66b63d6cad0caacd034888bb7bf5f5
	Issue introduced in 6.3 with commit 077706165717686a2a6a71405fef036cd5b37ae0 and fixed in 7.0.13 with commit 100d5b2ffdc6468b9e48532641f29e83efdcb63c
	Issue introduced in 6.3 with commit 077706165717686a2a6a71405fef036cd5b37ae0 and fixed in 7.1 with commit 059b7dbd20a6f0c539a45ddff1573cb8946685b5
	Issue introduced in 6.1.63 with commit 5852a2b573f7a3a29df46296e56aa3491e589cdf

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53132

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/vmw_vsock/virtio_transport_common.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/1eca304f97a34ed5e921e1f0e06c8b241f25bf12
	https://git.kernel.org/stable/c/9bdc637fde66b63d6cad0caacd034888bb7bf5f5
	https://git.kernel.org/stable/c/100d5b2ffdc6468b9e48532641f29e83efdcb63c
	https://git.kernel.org/stable/c/059b7dbd20a6f0c539a45ddff1573cb8946685b5