Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 to < 969b06bd8b7560efb100a34227619e7d318fbe05affected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to < ee438c492b2e0705d819ac0e25d04fae758d8f8faffected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to < faf332a10372390ce65d0b803888f4b25a388335affected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to < 676f03760ca1d69c2470cef36c44dc152494b47caffected
  • 71dc9ec9ac7d3eee785cdc986c3daeb821381e20 to < 0dab92484474587b82e8e0455839eaf5ac7bf894affected
  • 6.1.63 to < 6.1.149affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.1.149 to ≤ 6.1.*unaffected
  • 6.6.103 to ≤ 6.6.*unaffected
  • 6.12.44 to ≤ 6.12.*unaffected
  • 6.16.4 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References