CVE-2026-63970

vsock/virtio: bind uarg before filling zerocopy skb

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

vsock/virtio: bind uarg before filling zerocopy skb

virtio_transport_send_pkt_info() allocates or reuses the zerocopy uarg before entering the send loop, but virtio_transport_alloc_skb() still fills the skb before it inherits that uarg. When fixed-buffer vectored zerocopy hits MAX_SKB_FRAGS, io_sg_from_iter() may partially attach managed frags and return -EMSGSIZE. The rollback path call kfree_skb() to free an skb that carries SKBFL_MANAGED_FRAG_REFS but no uarg, so skb_release_data() falls through to ordinary frag unref.

Pass the uarg into virtio_transport_alloc_skb() and bind it immediately before virtio_transport_fill_skb(). This keeps control or no-payload skbs untouched while ensuring success and rollback share one lifetime rule.

Scores

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

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before 72194f65050958e4c8e069adb6c5d89ef81ca197Affected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before b62e2b2b4a50953ca952f3cd3f77dd62dc50fd5dAffected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before 5d317573f1d48e76cce5fb6250452b6e4102e0fbAffected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before 1e584c304cfb94a759417130b1fc6d30b30c4cceAffected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 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.