CVE-2021-47009

KEYS: trusted: Fix memory leak on object td

published February 28, 2024

CVSS
—
EPSS
0%
Percentile
15.0
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00246 · 15.0th percentile
Published
2024-02-28T08:13Z
EPSS history
Timeline
  • 28 FEB 08:13Z
    KEYS: trusted: Fix memory leak on object td
    cvelistv5