CVEvulnerability
CVE-2025-71147
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-01-23
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 5.13 < 5.15.198)
• linux linux kernel (>= 5.16 < 6.1.160)
• linux linux kernel (>= 6.2 < 6.6.120)
• linux linux kernel (>= 6.7 < 6.12.64)
• linux linux kernel (>= 6.13 < 6.18.3)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/19166de9737218b77122c41a5730ac87025e089f Patch
- https://git.kernel.org/stable/c/3fd7df4636d8fd5e3592371967a5941204368936 Patch
- https://git.kernel.org/stable/c/62cd5d480b9762ce70d720a81fa5b373052ae05f Patch
- https://git.kernel.org/stable/c/9b015f2918b95bdde2ca9cefa10ef02b138aae1e Patch
- https://git.kernel.org/stable/c/9e7c63c69f57b1db1a8a1542359a6167ff8fcef1 Patch
- https://git.kernel.org/stable/c/af0689cafb127a8d1af78cc8b72585c9b2a19ecd Patch