5.5

CVE-2024-36967: KEYS: trusted: Fix memory leak in tpm2_key_encode()

Modified
AliasesUBUNTU-CVE-2024-36967DEBIAN-CVE-2024-36967
Published 08-06-2024Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 23 · Related 20

Timeline

  1. 08-06-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

23 links
Show all 23 references