{"id":"CVE-2026-99037","aliases":["CVE-2026-99037"],"related":[],"kind":"vulnerability","state":"published","title":"dm-crypt: reject the lmk IV mode with AEAD ciphers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-crypt: reject the lmk IV mode with AEAD ciphers\n\nA \"capi:\" table line that pairs an AEAD cipher with the lmk IV mode,\nfor example \"capi:gcm(aes)-lmk\" with the integrity:28:aead option,\ncauses an oops when it is loaded. lmk sets tfms_count to 64, but\ncrypt_alloc_tfms_aead only allocates one transform, so crypt_setkey\nreads past the end of the tfms_aead array and calls crypto_aead_setkey\non the values it finds there.\n\nlmk exists for compatibility with Loop-AES, which uses CBC, so refuse\nit with an AEAD cipher rather than allocate 64 AEAD transforms. The\ncheck cannot go in crypt_iv_lmk_ctr with the other lmk checks, because\nthe IV constructor runs after crypt_set_key.\n\nNote that this is not a security bug because the memory corruption can\nonly be triggered by root.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-crypt: reject the lmk IV mode with AEAD ciphers\n\nA \"capi:\" table line that pairs an AEAD cipher with the lmk IV mode,\nfor example \"capi:gcm(aes)-lmk\" with the integrity:28:aead option,\ncauses an oops when it is loaded. lmk sets tfms_count to 64, but\ncrypt_alloc_tfms_aead only allocates one transform, so crypt_setkey\nreads past the end of the tfms_aead array and calls crypto_aead_setkey\non the values it finds there.\n\nlmk exists for compatibility with Loop-AES, which uses CBC, so refuse\nit with an AEAD cipher rather than allocate 64 AEAD transforms. The\ncheck cannot go in crypt_iv_lmk_ctr with the other lmk checks, because\nthe IV constructor runs after crypt_set_key.\n\nNote that this is not a security bug because the memory corruption can\nonly be triggered by root.","source":"cvelist"}],"published":"2026-10-23T12:21:54.317Z","modified":"2026-10-30T13:21:40.797Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"a04546fa65cbcf4a2774f93f365d747a19abb9b8","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"412d1c1f490ed9ec5bd029883e8a626626613a70","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"a50e830ded5a0d0cb9e897d1521716ba654f8c3e","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"9a0dab8a9d9975dec14a118b55cae2517aea5ca9","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"962ce265fbf5d87afeb78cf19c12e083ab0ffeb8","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"a1a875614dae43b43d311bb9e7a7a70eed78efe6","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f","status":"affected"},{"type":"git","introduced":"33d2f09fcb357fd1861c4959d1d3505492bf91f8","fixed":"3195e0daf590683992edb4eed32269e569e04924","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a04546fa65cbcf4a2774f93f365d747a19abb9b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/412d1c1f490ed9ec5bd029883e8a626626613a70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a50e830ded5a0d0cb9e897d1521716ba654f8c3e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99037","url":"https://www.cve.org/CVERecord?id=CVE-2026-99037","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:10.478Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99037","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99037","licence":"Public domain","modified":"2026-10-30T13:21:40.797Z"}],"updatedAt":"2026-11-25T22:59:46.956Z","epss":{"score":0.00211,"percentile":0.12017,"date":"2026-12-01T12:00:22.000Z"}}