Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f2219745250f388edacabe6cca73654131c67d0a before cc86227fea28aed86c1fb52a884560b4440da198; affected f2219745250f388edacabe6cca73654131c67d0a before b020b447338872440142fe8a57350a483da86b7a; affected f2219745250f388edacabe6cca73654131c67d0a before 3fd487c69ad3161e358c33c170bab0cf02a071b7; affected f2219745250f388edacabe6cca73654131c67d0a before 5afa57ea91481c6c49f194b0f5a5c4d96a4d7348; affected f2219745250f388edacabe6cca73654131c67d0a before 9ddbc5f4bb498aff8096a5231574858a4bffee4f; affected f2219745250f388edacabe6cca73654131c67d0a before 134825dfc971fbf2b1d0f58f0b3bce8332ad0afb; affected f2219745250f388edacabe6cca73654131c67d0a before 114f00d738f15dd8c7318369edcdc53dd6d08763 |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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