netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.72 % · centile 54 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag The DEV_PATH_BR_VLAN_UNTAG case post-decrements info->num_encaps inside WARN_ON_ONCE(). num_encaps is u8, so if it's already 0 the decrement still happens and wraps it to 255. The break only leaves the inner switch -- a later path entry can set info->indev back to a real device, and we end up returning with num_encaps == 255. nft_dev_forward_path() then walks info.encap[] (size 2) up to num_encaps, which means an OOB stack read and a bogus count copied into the route descriptor. Should only happen on a malformed bridge path stack, hence the WARN, but worth handling sanely. Move the decrement out of the WARN. [ While at this, remove the WARN_ON_ONCE since this can only happen with a buggy bridge path stack --pablo ].
Références
- https://git.kernel.org/stable/c/9a4e3a9017ba3da2de187b72ed6545641a0d0a84
- https://git.kernel.org/stable/c/1b52aeb40c9f04bf50eeb4ea09142139d163e239
- https://git.kernel.org/stable/c/ee8440bb000fff4ef8acbfc99652851e9ca0a35b
- https://git.kernel.org/stable/c/547ea9f567498e4accc89e7816264f15a1a0629f
- https://git.kernel.org/stable/c/2f55fa28011c97d6495d5787808db10a8c2d690d
- https://git.kernel.org/stable/c/e052f920773b73be49eb4d8702a9f85de7464363
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-67510
- GCVE · GCVE-0-2026-80634
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected e990cef6516daa4e1e236433579e333f74fd38cb < 9a4e3a9017ba3da2de187b72ed6545641a0d0a84 ; affected e990cef6516daa4e1e236433579e333f74fd38cb < 1b52aeb40c9f04bf50eeb4ea09142139d163e239 ; affected e990cef6516daa4e1e236433579e333f74fd38cb < ee8440bb000fff4ef8acbfc99652851e9ca0a35b ; affected e990cef6516daa4e1e236433579e333f74fd38cb < 547ea9f567498e4accc89e7816264f15a1a0629f ; affected e990cef6516daa4e1e236433579e333f74fd38cb < 2f55fa28011c97d6495d5787808db10a8c2d690d ; affected e990cef6516daa4e1e236433579e333f74fd38cb < e052f920773b73be49eb4d8702a9f85de7464363 |
| Linux · Linux | affected 5.13 ; unaffected 0 < 5.13 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.57 ≤ 6.18.* |
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 |