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

Summary

CVECVE-2026-99037
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-23 13:17:26 UTC
Updated2026-10-23 13:17:26 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 33d2f09fcb357fd1861c4959d1d3505492bf91f8 9a0dab8a9d9975dec14a118b55cae2517aea5ca9 git Not specified
CNA Linux Linux affected 33d2f09fcb357fd1861c4959d1d3505492bf91f8 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8 git Not specified
CNA Linux Linux affected 33d2f09fcb357fd1861c4959d1d3505492bf91f8 a1a875614dae43b43d311bb9e7a7a70eed78efe6 git Not specified
CNA Linux Linux affected 33d2f09fcb357fd1861c4959d1d3505492bf91f8 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f git Not specified
CNA Linux Linux affected 33d2f09fcb357fd1861c4959d1d3505492bf91f8 3195e0daf590683992edb4eed32269e569e04924 git Not specified
CNA Linux Linux affected 4.12 Not specified
CNA Linux Linux unaffected 4.12 semver Not specified
CNA Linux Linux unaffected 6.6.160 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.57 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.11 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report