net: tun: bound receive headroom (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.36 % · percentile 29 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: net: tun: bound receive headroom tun_get_user() uses tun->align both as skb headroom and when choosing how much packet data to keep linear. OVS can propagate an oversized headroom request from another port to TUN or TAP. When align is larger than the usable space in a one-page skb head, SKB_MAX_HEAD(align) underflows and the result becomes negative when stored in good_linear. That value later wraps when assigned to the size_t linear variable, and tun_alloc_skb() can place skb->data outside the allocated head. Bound the headroom stored by TUN to the one-page skb-head budget and the largest non-sentinel 16-bit skb header offset. Leave one linear byte for raw TUN and a complete Ethernet header for TAP, including NET_IP_ALIGN. Also pull the raw-TUN protocol byte and the TAP Ethernet header before accessing them, so these checks remain safe for nonlinear skbs supplied by other allocation paths.
References
- https://git.kernel.org/stable/c/ad715e713610d2d5473c3a6498c825ccecf26491
- https://git.kernel.org/stable/c/708e87937de93f445225c134a2e20519f9b4ce60
- https://git.kernel.org/stable/c/18ef24cdb2eba32e38f1d27f2d02b7b4212e8f76
- https://git.kernel.org/stable/c/010eee265d6bd8769b6a523d2a0693d9b3f5df43
- https://git.kernel.org/stable/c/379d85c7f25f3e05a428225e6b8a65613c6e9b9d
- https://git.kernel.org/stable/c/e098d9cc8859614a7f7baebc96e32a5a16b18ed2
- https://git.kernel.org/stable/c/0ada54ea63e48b9c1608e917ccb7dfadbe86db28
- https://git.kernel.org/stable/c/447c9303942c439a117d9b76ce6d6e2116b38ee7
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-76323
- GCVE · GCVE-0-2026-81000
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1254 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1230 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected eaea34b23c46bf17b4a5638be69ab3561854f34b < ad715e713610d2d5473c3a6498c825ccecf26491 ; affected eaea34b23c46bf17b4a5638be69ab3561854f34b < 708e87937de93f445225c134a2e20519f9b4ce60 ; affected eaea34b23c46bf17b4a5638be69ab3561854f34b < 18ef24cdb2eba32e38f1d27f2d02b7b4212e8f76 ; affected eaea34b23c46bf17b4a5638be69ab3561854f34b < 010eee265d6bd8769b6a523d2a0693d9b3f5df43 ; affected eaea34b23c46bf17b4a5638be69ab3561854f34b < 379d85c7f25f3e05a428225e6b8a65613c6e9b9d ; affected eaea34b23c46bf17b4a5638be69ab3561854f34b < e098d9cc8859614a7f7baebc96e32a5a16b18ed2 |
| Linux · Linux | affected 4.6 ; unaffected 0 < 4.6 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |