{"id":"CVE-2026-98221","aliases":["CVE-2026-98221"],"related":[],"kind":"vulnerability","state":"published","title":"KEYS: trusted: Fix tpm2_load_cmd() boundary check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T08:44:56.728Z","modified":"2026-10-19T10:18:22.867Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"cc86227fea28aed86c1fb52a884560b4440da198","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"b020b447338872440142fe8a57350a483da86b7a","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"3fd487c69ad3161e358c33c170bab0cf02a071b7","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"5afa57ea91481c6c49f194b0f5a5c4d96a4d7348","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"9ddbc5f4bb498aff8096a5231574858a4bffee4f","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"134825dfc971fbf2b1d0f58f0b3bce8332ad0afb","status":"affected"},{"type":"git","introduced":"f2219745250f388edacabe6cca73654131c67d0a","fixed":"114f00d738f15dd8c7318369edcdc53dd6d08763","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","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/cc86227fea28aed86c1fb52a884560b4440da198","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b020b447338872440142fe8a57350a483da86b7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fd487c69ad3161e358c33c170bab0cf02a071b7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5afa57ea91481c6c49f194b0f5a5c4d96a4d7348","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ddbc5f4bb498aff8096a5231574858a4bffee4f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/134825dfc971fbf2b1d0f58f0b3bce8332ad0afb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/114f00d738f15dd8c7318369edcdc53dd6d08763","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98221","url":"https://www.cve.org/CVERecord?id=CVE-2026-98221","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:53.271Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98221","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98221","licence":"Public domain","modified":"2026-10-19T10:18:22.867Z"}],"updatedAt":"2026-11-25T22:59:42.293Z","epss":{"score":0.00173,"percentile":0.06991,"date":"2026-12-01T12:00:22.000Z"}}