dm-crypt: reject the lmk IV mode with AEAD ciphers (Linux Linux)

CVE-2026-99037
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: dm-crypt: reject the lmk IV mode with AEAD ciphers A "capi:" table line that pairs an AEAD cipher with the lmk IV mode, for example "capi:gcm(aes)-lmk" with the integrity:28:aead option, causes an oops when it is loaded. lmk sets tfms_count to 64, but crypt_alloc_tfms_aead only allocates one transform, so crypt_setkey reads past the end of the tfms_aead array and calls crypto_aead_setkey on the values it finds there. lmk exists for compatibility with Loop-AES, which uses CBC, so refuse it with an AEAD cipher rather than allocate 64 AEAD transforms. The check cannot go in crypt_iv_lmk_ctr with the other lmk checks, because the IV constructor runs after crypt_set_key. Note that this is not a security bug because the memory corruption can only be triggered by root.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < a04546fa65cbcf4a2774f93f365d747a19abb9b8
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < 412d1c1f490ed9ec5bd029883e8a626626613a70
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < a50e830ded5a0d0cb9e897d1521716ba654f8c3e
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < 9a0dab8a9d9975dec14a118b55cae2517aea5ca9
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < a1a875614dae43b43d311bb9e7a7a70eed78efe6
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f
affectée : ≥ 33d2f09fcb357fd1861c4959d1d3505492bf91f8 < 3195e0daf590683992edb4eed32269e569e04924
Autres versions : non affectée
Linux · Linux
affectée : 4.12
non affectée : ≥ 0 < 4.12
non affectée : ≥ 5.10.273 ≤ 5.10.*
non affectée : ≥ 5.15.224 ≤ 5.15.*
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.113 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.11 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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