← Back to CVE Explorer

CVE-2026-98221

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix tpm2_load_cmd() boundary check tpm2_load_cmd() does boundary checks against the ASN.1 size i.e., payload->blob_len. Address this by passing the decoded blob size to tpm2_load_cmd(), and use it for the boundary checks.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-06 09:18:09.003000
Last modified
2026-10-19 10:18:22.867000
View original CVE JSON
{
  "id": "CVE-2026-98221",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-06T09:18:09.003",
  "lastModified": "2026-10-19T10:18:22.867",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix tpm2_load_cmd() boundary check\n\ntpm2_load_cmd() does boundary checks against the ASN.1 size i.e.,\npayload->blob_len. Address this by passing the decoded blob size to\ntpm2_load_cmd(), and use it for the boundary checks."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "security/keys/trusted-keys/trusted_tpm2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "cc86227fea28aed86c1fb52a884560b4440da198",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "b020b447338872440142fe8a57350a483da86b7a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "3fd487c69ad3161e358c33c170bab0cf02a071b7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "5afa57ea91481c6c49f194b0f5a5c4d96a4d7348",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "9ddbc5f4bb498aff8096a5231574858a4bffee4f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "134825dfc971fbf2b1d0f58f0b3bce8332ad0afb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2219745250f388edacabe6cca73654131c67d0a",
              "lessThan": "114f00d738f15dd8c7318369edcdc53dd6d08763",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "security/keys/trusted-keys/trusted_tpm2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.13",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.13",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.222",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.54",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.8",
              "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/114f00d738f15dd8c7318369edcdc53dd6d08763",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/134825dfc971fbf2b1d0f58f0b3bce8332ad0afb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3fd487c69ad3161e358c33c170bab0cf02a071b7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5afa57ea91481c6c49f194b0f5a5c4d96a4d7348",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9ddbc5f4bb498aff8096a5231574858a4bffee4f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b020b447338872440142fe8a57350a483da86b7a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/cc86227fea28aed86c1fb52a884560b4440da198",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}