CVE-2024-36967: KEYS: trusted: Fix memory leak in tpm2_key_encode()
Vulnerability summary
CVE-2024-36967 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 20Timeline
- 08-06-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linux< 5.15.0-118.128 | < 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1067.73 | < 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f2219745250f388edacabe6cca73654131c67d0a, < 1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf | ≥ f2219745250f388edacabe6cca73654131c67d0a, < 5d91238b590bd883c86ba7707c5c9096469c08b7 | ≥ f2219745250f388edacabe6cca73654131c67d0a, < e62835264d0352be6086975f18fdfed2b5520b13 | ≥ f2219745250f388edacabe6cca73654131c67d0a, < 189c768932d435045b1fae12bf63e53866f06a28 | ≥ f2219745250f388edacabe6cca73654131c67d0a, < cf26a92f560eed5d6ddc3d441cc645950cbabc56 | ≥ f2219745250f388edacabe6cca73654131c67d0a, < ffcaa2172cc1a85ddb8b783de96d38ca8855e248 | 5.13
- linux_kernel≥ 5.13, < 5.15.160 | ≥ 5.16, < 6.1.92 | ≥ 6.2, < 6.6.32 | ≥ 6.7, < 6.8.11 | ≥ 6.9, < 6.9.2
Debian1 product
- linux< 6.1.94-1 | < 6.8.11-1
3 vendors · 120 products