What’s Vulnerable › Vulnerabilities

CVE-2021-47009: KEYS: trusted: Fix memory leak on object td

Description

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix memory leak on object td Two error return paths are neglecting to free allocated object td, causing a memory leak. Fix this by returning via the error return path that securely kfree's td. Fixes clang scan-build warning: security/keys/trusted-keys/trusted_tpm1.c:496:10: warning: Potential memory leak [unix.Malloc]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.38, 5.11.22, 5.12.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47009 or the next vulnerability affects your stack