KEYS: trusted: Fix tpm2_load_cmd() boundary check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux 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 Linux
5.13
- KernelLinux
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
References 7
git.kernel.org
- stable/c/cc86227fea28aed86c1fb52a884560b4440da198
- stable/c/b020b447338872440142fe8a57350a483da86b7a
- stable/c/3fd487c69ad3161e358c33c170bab0cf02a071b7
- stable/c/5afa57ea91481c6c49f194b0f5a5c4d96a4d7348
- stable/c/9ddbc5f4bb498aff8096a5231574858a4bffee4f
- stable/c/134825dfc971fbf2b1d0f58f0b3bce8332ad0afb
- stable/c/114f00d738f15dd8c7318369edcdc53dd6d08763