mpls: reload header after pskb_may_pull() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.69 % · centile 53 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: mpls: reload header after pskb_may_pull() mpls_select_multipath() calls mpls_multipath_hash() to choose a nexthop when an MPLS route has multiple nexthops. While walking the MPLS label stack, the hash routine caches hdr for the current label. After finding the bottom-of-stack label, it calls pskb_may_pull() before reading the inner IP header. If an skb is constructed with the inner IP header in nonlinear data and insufficient tailroom in the linear head, pskb_may_pull() calls pskb_expand_head() to replace the skb head and free the old one. This leaves hdr pointing to freed memory. The IPv6 path can invalidate hdr again when it performs a second pull for the larger header. The issue was found through static analysis. A reproducer sending a legal Geneve packet through a bareudp/MPLS multipath setup triggered the same KASAN report in 2 of 2 unpatched runs: BUG: KASAN: slab-use-after-free in mpls_select_multipath Read of size 1 at addr ffff88800ecc6e20 by task ksoftirqd/1/23 Call Trace: mpls_select_multipath mpls_forward __netif_receive_skb_list_core netif_receive_skb_list_internal napi_complete_done gro_cell_poll __napi_poll net_rx_action Freed by task 23: kfree pskb_expand_head __pskb_pull_tail mpls_select_multipath Reload hdr from the current skb head after each successful pull before deriving the inner IPv4 or IPv6 header pointer.
Références
- https://git.kernel.org/stable/c/aa4fe0b450a461aa1162fe8375f5d28f4c957df8
- https://git.kernel.org/stable/c/b1c0783b2facc398437ad8f8b86c636d7a78f8db
- https://git.kernel.org/stable/c/bfaaff99238326166694354a63a76c02563f98b1
- https://git.kernel.org/stable/c/d9640239827d6d0cb84263b590f7a4f1596c17eb
- https://git.kernel.org/stable/c/fed638a248116b8a249bd4202d28e5934bdc65ad
- https://git.kernel.org/stable/c/d82b90a38c2ca8a0694428eab0e9551c23f2447d
- https://git.kernel.org/stable/c/49d38c1b4390412f8950d33dfaee0ccbd17beb81
- https://git.kernel.org/stable/c/29e63b8d9fc150cc191b1c6eb7e16e1247e1b650
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-76466
- GCVE · GCVE-0-2026-89555
Avis du CERT-FR
- 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-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 9f427a0e474a67b454420c131709600d44850486 < aa4fe0b450a461aa1162fe8375f5d28f4c957df8 ; affected 9f427a0e474a67b454420c131709600d44850486 < b1c0783b2facc398437ad8f8b86c636d7a78f8db ; affected 9f427a0e474a67b454420c131709600d44850486 < bfaaff99238326166694354a63a76c02563f98b1 ; affected 9f427a0e474a67b454420c131709600d44850486 < d9640239827d6d0cb84263b590f7a4f1596c17eb ; affected 9f427a0e474a67b454420c131709600d44850486 < fed638a248116b8a249bd4202d28e5934bdc65ad ; affected 9f427a0e474a67b454420c131709600d44850486 < d82b90a38c2ca8a0694428eab0e9551c23f2447d |
| Linux · Linux | affected 4.10 ; unaffected 0 < 4.10 ; 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 |