What’s Vulnerable › Vulnerabilities

CVE-2025-71147: KEYS: trusted: Fix a memory leak in tpm2_load_cmd

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.198, 6.1.160, 6.12.64, 6.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71147 or the next vulnerability affects your stack