7.8high
vsock/virtio: bind uarg before filling zerocopy skb
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 581512a6dc939ef122e49336626ae159f3b8a345 before 72194f65050958e4c8e069adb6c5d89ef81ca197, from 581512a6dc939ef122e49336626ae159f3b8a345 before b62e2b2b4a50953ca952f3cd3f77dd62dc50fd5d, from 581512a6dc939ef122e49336626ae159f3b8a345 before 5d317573f1d48e76cce5fb6250452b6e4102e0fb, from 581512a6dc939ef122e49336626ae159f3b8a345 before 1e584c304cfb94a759417130b1fc6d30b30c4cce, 6.7 Not affected: before 6.7, from 6.12.97 up to 6.12.*, from 6.18.35 up to 6.18.*, from 7.0.12 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.12.97, from 6.13 before 6.18.35, from 6.19 before 7.0.12, 7.1 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63970 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-63970 changed 2026-10-19 | Public domain |