NetSight
medium5.5

CVE-2021-47009

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 a…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.20 before 5.10.38
from 5.11.3 before 5.11.22
from 5.12 before 5.12.5
Version 5.12

Weakness classification

References