← Back to CVE Explorer

CVE-2026-99037

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 13:17:26.947000
Last modified
2026-10-30 13:21:40.797000
View original CVE JSON
{
  "id": "CVE-2026-99037",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-23T13:17:26.947",
  "lastModified": "2026-10-30T13:21:40.797",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/md/dm-crypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "lessThan": "a04546fa65cbcf4a2774f93f365d747a19abb9b8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "lessThan": "412d1c1f490ed9ec5bd029883e8a626626613a70",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "lessThan": "a50e830ded5a0d0cb9e897d1521716ba654f8c3e",
              "versionType": "git",
              "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",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/md/dm-crypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.12",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.57",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.11",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/412d1c1f490ed9ec5bd029883e8a626626613a70",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a04546fa65cbcf4a2774f93f365d747a19abb9b8",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a50e830ded5a0d0cb9e897d1521716ba654f8c3e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}