CVE-2026-98221 PUBLISHED

KEYS: trusted: Fix tpm2_load_cmd() boundary check

Assigner: Linux
Reserved: 25.09.2026 Published: 06.10.2026 Updated: 06.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f2219745250f388edacabe6cca73654131c67d0a to cc86227fea28aed86c1fb52a884560b4440da198 (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to b020b447338872440142fe8a57350a483da86b7a (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to 3fd487c69ad3161e358c33c170bab0cf02a071b7 (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to 5afa57ea91481c6c49f194b0f5a5c4d96a4d7348 (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to 9ddbc5f4bb498aff8096a5231574858a4bffee4f (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to 134825dfc971fbf2b1d0f58f0b3bce8332ad0afb (excl.)
  • affected from f2219745250f388edacabe6cca73654131c67d0a to 114f00d738f15dd8c7318369edcdc53dd6d08763 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.13 is affected
  • unaffected from 0 to 5.13 (excl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.54 to 6.18.* (incl.)
  • unaffected from 7.2.8 to 7.2.* (incl.)
  • unaffected from 7.3-rc4 to * (incl.)

References