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]
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-02-28T08:13:28.439Z

Updated: 2024-08-04T05:24:39.525Z

Reserved: 2024-02-27T18:42:55.952Z

Link: CVE-2021-47009

cve-icon Vulnrichment

Updated: 2024-08-04T05:24:39.525Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-02-28T09:15:38.610

Modified: 2024-02-28T14:06:45.783

Link: CVE-2021-47009

cve-icon Redhat

Severity : Low

Publid Date: 2024-02-28T00:00:00Z

Links: CVE-2021-47009 - Bugzilla