net: limit priority VLAN untag depth (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.28 % · percentile 22 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: net: limit priority VLAN untag depth The priority VLAN receive path can repeatedly remove VID 0 tags and retry packet processing. Unlike the read-only VLAN protocol parser, this path has no limit on the number of nested tags it consumes. Each skb_vlan_untag() advances skb->data and resets header offsets. The offsets are stored in 16-bit fields. With enough nested tags, the network or transport offset can wrap. A later protocol handler can then derive a large pull length from the wrapped offsets and access memory outside the skb allocation. Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry. Count the tag already stored in skb VLAN metadata as the first level, then stop before untagging a ninth level. Keep the accounting inside this uncommon branch so the regular VLAN receive path is unaffected. A single VID 0 priority tag before a real VLAN tag is valid. No normal deployment was found that intentionally emits multiple consecutive VID 0 tags; permitting eight levels is therefore conservative. The issue was found while researching the Linux network receive path for Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The affected path, reproducer and fix were manually reviewed and tested.
References
- https://git.kernel.org/stable/c/e80d07f6f08883c922d1e029a0a75ff3fd81e658
- https://git.kernel.org/stable/c/376aa7635f7b2ded1012b6dbdef6ead4d072962e
- https://git.kernel.org/stable/c/834b0ab00c64886f1de280530c21a40374a6a75a
- https://git.kernel.org/stable/c/052a62de6e467646a2a5f8baced4ea319319ae75
- https://git.kernel.org/stable/c/dedb3f9aa54a3fcff41373ed948078d35c0cc50e
- https://git.kernel.org/stable/c/3646b7c04717004d0abfc71dd35d25a646c34f45
- https://git.kernel.org/stable/c/e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01
- https://git.kernel.org/stable/c/d3ff07f5acc573e5f72bf1c581bae5d05191ba61
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-135657
- GCVE · GCVE-0-2026-99805
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < e80d07f6f08883c922d1e029a0a75ff3fd81e658 affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < 376aa7635f7b2ded1012b6dbdef6ead4d072962e affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < 834b0ab00c64886f1de280530c21a40374a6a75a affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < 052a62de6e467646a2a5f8baced4ea319319ae75 affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < dedb3f9aa54a3fcff41373ed948078d35c0cc50e affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < 3646b7c04717004d0abfc71dd35d25a646c34f45 affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01 affected : ≥ 36b2f61a42c29add695f3bd192ce44d5c113c1eb < d3ff07f5acc573e5f72bf1c581bae5d05191ba61 Other versions : unaffected |
| Linux · Linux | affected : 5.2 unaffected : ≥ 0 < 5.2 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.63 ≤ 6.18.* unaffected : ≥ 7.3.4 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
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 |