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

Published Feb 28, 2024
·
Updated

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/trustedtpm1.c:496:10: warning: Potential memory leak [unix.Malloc]

Affected Software

4 affected components
Linux Linux kernel>=5.10.20<5.10.38
Linux Linux kernel>=5.11.3<5.11.22
Linux Linux kernel>=5.12<5.12.5
Linux Linux kernel=5.12-rc1

Event History

Feb 28, 2024
CVE Published
via MITRE·08:13 AM
Data Sourced
via MITRE·08:13 AM
Description
Data Sourced
via NVD·09:15 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2021-47009?

CVE-2021-47009 is rated as a low severity vulnerability due to its nature of causing a memory leak.

2

How do I fix CVE-2021-47009?

Fix CVE-2021-47009 by updating to a patched version of the Linux kernel that addresses the memory leak issue.

3

What versions of the Linux kernel are affected by CVE-2021-47009?

CVE-2021-47009 affects Linux kernel versions between 5.10.20 and 5.10.38, 5.11.3 and 5.11.22, as well as 5.12 and up to 5.12.5.

4

Is CVE-2021-47009 being actively exploited?

As of now, there are no known active exploits targeting CVE-2021-47009, but it is advisable to apply patches.

5

What is the impact of CVE-2021-47009 on system performance?

CVE-2021-47009 can lead to resource exhaustion over time due to memory leakage, potentially affecting system performance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203