# CVE-2026-99037: dm-crypt: reject the lmk IV mode with AEAD ciphers

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-23T12:21:54.317Z
- Modified: 2026-10-30T13:21:40.797Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before a04546fa65cbcf4a2774f93f365d747a19abb9b8; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before 412d1c1f490ed9ec5bd029883e8a626626613a70; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before a50e830ded5a0d0cb9e897d1521716ba654f8c3e; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before 9a0dab8a9d9975dec14a118b55cae2517aea5ca9; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before a1a875614dae43b43d311bb9e7a7a70eed78efe6; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f; from 33d2f09fcb357fd1861c4959d1d3505492bf91f8 before 3195e0daf590683992edb4eed32269e569e04924; 4.12 (not affected: before 4.12; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a04546fa65cbcf4a2774f93f365d747a19abb9b8>
- <https://git.kernel.org/stable/c/412d1c1f490ed9ec5bd029883e8a626626613a70>
- <https://git.kernel.org/stable/c/a50e830ded5a0d0cb9e897d1521716ba654f8c3e>
- <https://git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9>
- <https://git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8>
- <https://git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6>
- <https://git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f>
- <https://git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924>

## Sources

- CVE List: [CVE-2026-99037](https://www.cve.org/CVERecord?id=CVE-2026-99037), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99037](https://nvd.nist.gov/vuln/detail/CVE-2026-99037), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99037 · Whole record: https://cve.day/CVE-2026-99037.json · Rebuilt by cve.day 2026-11-25T22:59:46.956Z
