What’s Vulnerable › Vulnerabilities

CVE-2025-39718: vsock/virtio: Validate length in packet header before skb_put()

Description

In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: Validate length in packet header before skb_put() When receiving a vsock packet in the guest, only the virtqueue buffer size is validated prior to virtio_vsock_skb_rx_put(). Unfortunately, virtio_vsock_skb_rx_put() uses the length from the packet header as the length argument to skb_put(), potentially resulting in SKB overflow if the host has gone wonky. Validate the length as advertised by the packet header before calling virtio_vsock_skb_rx_put().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.149, 6.12.44, 6.16.4, 6.6.103. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39718 or the next vulnerability affects your stack