Wiz Agents & Workflows are here

CVE-2021-47009
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47009 is a memory leak vulnerability discovered in the Linux kernel's trusted keys component. The vulnerability was identified in the trusted_tpm1.c file where two error return paths failed to free an allocated object 'td', resulting in a memory leak (Kernel Patch). The issue affects Linux kernel versions from 5.10.20 up to (excluding) 5.10.38, from 5.11.3 up to (excluding) 5.11.22, and from 5.12 up to (excluding) 5.12.5 (NVD).

Technical details

The vulnerability exists in the tpm_seal function within security/keys/trusted-keys/trusted_tpm1.c. The issue was identified by clang scan-build which reported a potential memory leak warning at line 496. The vulnerability occurs when error conditions are encountered during the handling of tpm_get_random(), where the allocated 'td' object is not properly freed in two specific error paths (Kernel Patch). The CVSS v3.1 base score is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability primarily affects system availability by causing memory leaks. When triggered, the system gradually loses available memory as the allocated 'td' objects are not properly freed in error conditions (NVD).

Mitigation and workarounds

The vulnerability has been patched by modifying the error handling paths to properly free the 'td' object using kfree. The fix involves returning via the error return path that securely frees the allocated memory. The patch has been applied to affected kernel versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management