CVE-2026-99037 (GCVE-0-2026-99037)
Vulnerability from cvelistv5
Published
2026-10-23 12:21
Modified
2026-10-30 12:41
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Version: 33d2f09fcb357fd1861c4959d1d3505492bf91f8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/dm-crypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a04546fa65cbcf4a2774f93f365d747a19abb9b8",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "412d1c1f490ed9ec5bd029883e8a626626613a70",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "a50e830ded5a0d0cb9e897d1521716ba654f8c3e",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "9a0dab8a9d9975dec14a118b55cae2517aea5ca9",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "962ce265fbf5d87afeb78cf19c12e083ab0ffeb8",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "a1a875614dae43b43d311bb9e7a7a70eed78efe6",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            },
            {
              "lessThan": "3195e0daf590683992edb4eed32269e569e04924",
              "status": "affected",
              "version": "33d2f09fcb357fd1861c4959d1d3505492bf91f8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/dm-crypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.273",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.11",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:41:10.478Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a04546fa65cbcf4a2774f93f365d747a19abb9b8"
        },
        {
          "url": "https://git.kernel.org/stable/c/412d1c1f490ed9ec5bd029883e8a626626613a70"
        },
        {
          "url": "https://git.kernel.org/stable/c/a50e830ded5a0d0cb9e897d1521716ba654f8c3e"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a0dab8a9d9975dec14a118b55cae2517aea5ca9"
        },
        {
          "url": "https://git.kernel.org/stable/c/962ce265fbf5d87afeb78cf19c12e083ab0ffeb8"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1a875614dae43b43d311bb9e7a7a70eed78efe6"
        },
        {
          "url": "https://git.kernel.org/stable/c/40ea7dfa8cd5f9aed72a55c9ca3008aee5880e6f"
        },
        {
          "url": "https://git.kernel.org/stable/c/3195e0daf590683992edb4eed32269e569e04924"
        }
      ],
      "title": "dm-crypt: reject the lmk IV mode with AEAD ciphers",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99037",
    "datePublished": "2026-10-23T12:21:54.317Z",
    "dateReserved": "2026-09-25T10:25:14.387Z",
    "dateUpdated": "2026-10-30T12:41:10.478Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…