Local service interruption via leaked TPM2 buffers
Published Jun 8, 2024 · Updated May 11, 2026
Memory leak in the Linux kernel trusted-key subsystem from 5.13 allows local users to exhaust memory through TPM2 key encoding. The tpm2_key_encode() function allocates a scratch buffer with kmalloc() but returns on success and error paths without releasing it. Repeated trusted-key encoding by a local low-privileged user consumes kernel memory and can interrupt system availability.
Summary
What happened
Memory leak in the Linux kernel trusted-key subsystem from 5.13 allows local users to exhaust memory through TPM2 key encoding. The tpm2_key_encode() function allocates a scratch buffer with kmalloc() but returns on success and error paths without releasing it. Repeated trusted-key encoding by a local low-privileged user consumes kernel memory and can interrupt system availability.
The record
- CVE
- CVE-2024-36967
- Published
- Jun 8, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 8, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <189c768932d435045b1fae12bf63e53866f06a28
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <5d91238b590bd883c86ba7707c5c9096469c08b7
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <cf26a92f560eed5d6ddc3d441cc645950cbabc56
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <e62835264d0352be6086975f18fdfed2b5520b13
- Affected versionversion=f2219745250f388edacabe6cca73654131c67d0a <ffcaa2172cc1a85ddb8b783de96d38ca8855e248
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo