CVE-2026-99037
dm-crypt: reject the lmk IV mode with AEAD ciphers
Fetching some sources has been requested. Reload in about a minute to see them.
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.
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: 33d2f09fcb357fd1861c4959d1d3505492bf91f8 … < 9a0dab8a9d9975dec14a118b55cae2517aea5ca9 affected: 33d2f09fcb357fd1861c4959d1d3505492bf91f8 … < 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8 affected: 33d2f09fcb357fd1861c4959d1d3505492bf91f8 … < a1a875614dae43b43d311bb9e7a7a70eed78efe6 affected: 33d2f09fcb357fd1861c4959d1d3505492bf91f8 … < 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f affected: 33d2f09fcb357fd1861c4959d1d3505492bf91f8 … < 3195e0daf590683992edb4eed32269e569e04924 default: unaffected |
| Linux | Linux | affected: 4.12 unaffected: 0 … < 4.12 unaffected: 6.6.160 … <= 6.6.* unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
dm-crypt: reject the lmk IV mode with AEAD ciphers
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= 33d2f09fcb357fd1861c4959d1d3505492bf91f8, < 9a0dab8a9d9975dec14a118b55cae2517aea5ca9; < 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8; < a1a875614dae43b43d311bb9e7a7a70eed78efe6; < 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f; < 3195e0daf590683992edb4eed32269e569e04924 | 9a0dab8a9d9975dec14a118b55cae2517aea5ca9, 962ce265fbf5d87afeb78cf19c12e083ab0ffeb8, a1a875614dae43b43d311bb9e7a7a70eed78efe6, 40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f, 3195e0daf590683992edb4eed32269e569e04924 | ||
| Linux | Kernel | >= 4.12.0, < 6.6.160; >= 6.7.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.6.160, 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (8)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924 NVD, CNA, OSV
- https://git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f NVD, CNA, OSV
- https://git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8 NVD, CNA, OSV
- https://git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9 NVD, CNA, OSV
- https://git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6 NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99037.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99037 OSV