- Accueil
- Vulnérabilités
- CVE-2026-143147
CVE-2026-143147
ipv4: keep XFRM headers out of corked skb lengths
Résumé
In the Linux kernel, the following vulnerability has been resolved: ipv4: keep XFRM headers out of corked skb lengths __ip_append_data() allocates space for dst.header_len in the first skb, but includes that space in skb->len until __ip_make_skb() pulls it. Fragment accounting uses an MTU that already excludes the XFRM headers. As a result, the next skb can have a fraggap larger than its capped datalen, and skb_copy_and_csum_bits() can overwrite its shared info. For example, five AH tunnel states can reserve 500 bytes while leaving an effective MTU of 348. With 40 bytes of IPv4 options, the second skb has room for 288 bytes of fragment data but receives a 500-byte gap copy. The overwritten shared info is subsequently consumed by the skb release paths. Reserve the XFRM headers together with the link-layer headroom instead. This keeps skb->len, the gap-copy offsets and the trim lengths relative to the IPv4 packet throughout corking. The network and transport header addresses and the headroom available to XFRM at output are unchanged. Both paged and linear allocations, including subsequent corked appends, use the corrected accounting.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 3.0 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/ca0c8be0da23a51bbd857cb917def4f73113a715
- https://git.kernel.org/stable/c/7525c4171570e7114723bbb22906b996f4a4eef7
- https://git.kernel.org/stable/c/e56242c11080c2ba1f233b14c36ab3d76d6fff72
- https://git.kernel.org/stable/c/9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0
- https://git.kernel.org/stable/c/abe22654487724fe96bfaeacc502884d981adb06
- https://git.kernel.org/stable/c/0f47fce51a98d3d9f439c16861d519a7b833a176
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)