CVE-2025-39718

vsock/virtio: Validate length in packet header before skb_put()

State
Published
Severity
8.4 High
Published
Sep 5, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 to before 969b06bd8b7560efb100a34227619e7d318fbe05Affected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to before ee438c492b2e0705d819ac0e25d04fae758d8f8fAffected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to before faf332a10372390ce65d0b803888f4b25a388335Affected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to before 676f03760ca1d69c2470cef36c44dc152494b47cAffected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to before 0dab92484474587b82e8e0455839eaf5ac7bf894Affected
  • 6.1.63 to before 6.1.149Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.44 through 6.12.*Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.