# CVE-2026-98221: KEYS: trusted: Fix tpm2_load_cmd() boundary check

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-06T08:44:56.728Z
- Modified: 2026-10-19T10:18:22.867Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f2219745250f388edacabe6cca73654131c67d0a before cc86227fea28aed86c1fb52a884560b4440da198; from f2219745250f388edacabe6cca73654131c67d0a before b020b447338872440142fe8a57350a483da86b7a; from f2219745250f388edacabe6cca73654131c67d0a before 3fd487c69ad3161e358c33c170bab0cf02a071b7; from f2219745250f388edacabe6cca73654131c67d0a before 5afa57ea91481c6c49f194b0f5a5c4d96a4d7348; from f2219745250f388edacabe6cca73654131c67d0a before 9ddbc5f4bb498aff8096a5231574858a4bffee4f; from f2219745250f388edacabe6cca73654131c67d0a before 134825dfc971fbf2b1d0f58f0b3bce8332ad0afb; from f2219745250f388edacabe6cca73654131c67d0a before 114f00d738f15dd8c7318369edcdc53dd6d08763; 5.13 (not affected: before 5.13; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/cc86227fea28aed86c1fb52a884560b4440da198>
- <https://git.kernel.org/stable/c/b020b447338872440142fe8a57350a483da86b7a>
- <https://git.kernel.org/stable/c/3fd487c69ad3161e358c33c170bab0cf02a071b7>
- <https://git.kernel.org/stable/c/5afa57ea91481c6c49f194b0f5a5c4d96a4d7348>
- <https://git.kernel.org/stable/c/9ddbc5f4bb498aff8096a5231574858a4bffee4f>
- <https://git.kernel.org/stable/c/134825dfc971fbf2b1d0f58f0b3bce8332ad0afb>
- <https://git.kernel.org/stable/c/114f00d738f15dd8c7318369edcdc53dd6d08763>

## Sources

- CVE List: [CVE-2026-98221](https://www.cve.org/CVERecord?id=CVE-2026-98221), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98221](https://nvd.nist.gov/vuln/detail/CVE-2026-98221), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98221 · Whole record: https://cve.day/CVE-2026-98221.json · Rebuilt by cve.day 2026-11-25T22:59:42.293Z
