xfrm: fix xfrm_state_construct() auth-trunc leak (Linux Linux)

CVE-2026-80843
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: fix xfrm_state_construct() auth-trunc leak attach_auth_trunc() can allocate x->aalg while leaving x->props.aalgo at zero when the selected auth algorithm has no sadb_alg_id. One real case is cmac(aes). xfrm_state_construct() then treats !x->props.aalgo as "no auth algorithm attached yet" and calls attach_auth(). That overwrites x->aalg and loses the first allocation. Any later failure or teardown only frees the replacement pointer. Check whether x->aalg is already attached instead of inferring that state from x->props.aalgo.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 4447bb33f09444920a8f1d89e1540137429351b6 < 958ae9f261319e1cdc44879886bcda2263258cca ; affected 4447bb33f09444920a8f1d89e1540137429351b6 < fb7f3e74789a3c89647f4eb768f6dfaf4a751e72 ; affected 4447bb33f09444920a8f1d89e1540137429351b6 < ba0c110c205855b3f1e3130d8c0fdb484d704c8c ; affected 4447bb33f09444920a8f1d89e1540137429351b6 < c8837bbe792257af547fd1c0252553ce13148795 ; affected 4447bb33f09444920a8f1d89e1540137429351b6 < 71d42da01740ec6557837bebec0bc48cfc3b4c39 ; affected 4447bb33f09444920a8f1d89e1540137429351b6 < cf67361e78dca488d6e4df8396a53e6745a3a80e
Linux · Linuxaffected 2.6.33 ; unaffected 0 < 2.6.33 ; unaffected 5.10.269 ≤ 5.10.* ; unaffected 5.15.220 ≤ 5.15.* ; unaffected 6.1.187 ≤ 6.1.* ; unaffected 6.6.156 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD