CVE-2025-71147Published Jan 23, 2026 · Jan 23Updated Oct 28
KEYS: trusted: Fix a memory leak in tpm2_load_cmd
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f2219745250f388edacabe6cca73654131c67d0a · < 62cd5d480b9762ce70d720a81fa5b373052ae05f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's trusted keys tpm2_load_cmd can leak a temporary blob when the command fails. An attacker who can trigger those failure paths could cause memory to be consumed; the input does not specify access requirements or user interaction.
Teams running the Linux kernel should check their installed versions; affected versions are not specified.