CVE-2025-71147 Details
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix a memory leak in tpm2_load_cmd 'tpm2_load_cmd' allocates a tempoary blob indirectly via 'tpm2_key_decode' but it is not freed in the failure paths. Address this by wrapping the blob into with a cleanup helper.
A memory leak vulnerability has been identified in the Linux kernel's handling of trusted keys, specifically within the TPM2 command loading function. The issue arises because the function 'tpm2_load_cmd' allocates a temporary blob through 'tpm2_key_decode', but fails to release it in certain error scenarios. This oversight has been corrected by introducing a cleanup helper to properly manage the memory. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/19166de9737218b77122c41a5730ac87025e089f | kernel.org | Patch |
| https://git.kernel.org/stable/c/3fd7df4636d8fd5e3592371967a5941204368936 | kernel.org | Patch |
| https://git.kernel.org/stable/c/62cd5d480b9762ce70d720a81fa5b373052ae05f | kernel.org | Patch |
| https://git.kernel.org/stable/c/9b015f2918b95bdde2ca9cefa10ef02b138aae1e | kernel.org | Patch |
| https://git.kernel.org/stable/c/9e7c63c69f57b1db1a8a1542359a6167ff8fcef1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/af0689cafb127a8d1af78cc8b72585c9b2a19ecd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.13, < 5.15.198 >= 5.16, < 6.1.160 >= 6.2, < 6.6.120 >= 6.7, < 6.12.64 >= 6.13, < 6.18.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | New CVE Received | kernel.org |