Back
CVE-2024-36967KEYS: trusted: Fix memory leak in tpm2_key_encode()
- 5.5MediumCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix memory leak in tpm2_key_encode() 'scratch' is never freed. Fix this by calling kfree() in the success, and in the error case.
Timeline
ID reserved
By Linux
- 9 days later
· 9 days later
Published
- 23 months later
· 23 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f2219745250f388edacabe6cca73654131c67d0a – < 1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf
- affected f2219745250f388edacabe6cca73654131c67d0a – < 5d91238b590bd883c86ba7707c5c9096469c08b7
- affected f2219745250f388edacabe6cca73654131c67d0a – < e62835264d0352be6086975f18fdfed2b5520b13
- affected f2219745250f388edacabe6cca73654131c67d0a – < 189c768932d435045b1fae12bf63e53866f06a28
- affected f2219745250f388edacabe6cca73654131c67d0a – < cf26a92f560eed5d6ddc3d441cc645950cbabc56
- affected f2219745250f388edacabe6cca73654131c67d0a – < ffcaa2172cc1a85ddb8b783de96d38ca8855e248
- affected 5.13
- unaffected < 5.13
- unaffected 5.15.160 – ≤ 5.15.*
- unaffected 6.1.92 – ≤ 6.1.*
- unaffected 6.6.32 – ≤ 6.6.*
- unaffected 6.8.11 – ≤ 6.8.*
- unaffected 6.9.2 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References6
- https://git.kernel.org/stable/c/1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/5d91238b590bd883c86ba7707c5c9096469c08b7 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e62835264d0352be6086975f18fdfed2b5520b13 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/189c768932d435045b1fae12bf63e53866f06a28 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/cf26a92f560eed5d6ddc3d441cc645950cbabc56 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ffcaa2172cc1a85ddb8b783de96d38ca8855e248 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-36317 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-36967)Record last updated .