Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-99037

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-99037

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
        "lessThan": "9a0dab8a9d9975dec14a118b55cae2517aea5ca9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
        "lessThan": "962ce265fbf5d87afeb78cf19c12e083ab0ffeb8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
        "lessThan": "a1a875614dae43b43d311bb9e7a7a70eed78efe6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
        "lessThan": "40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
        "lessThan": "3195e0daf590683992edb4eed32269e569e04924",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/md/dm-crypt.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/md/dm-crypt.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-99037

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#52870 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement