Skip to main content
← All vulnerabilities
CVE-2021-47009

KEYS: trusted: Fix memory leak on object td

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.38, 5.11.22
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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]

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.10.20 · fixed in 5.10.38; From 5.11.3 · fixed in 5.11.22

  • Linux Linux

    5.12

References 4

git.kernel.org