CVE-2024-36967

KEYS: trusted: Fix memory leak in tpm2_key_encode()

published June 8, 2024

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

In the Linux kernel, the following vulnerability has been resolved:

KEYS: trusted: Fix memory leak in tpm2_key_encode()

'scratch' is never freed. Fix this by calling kfree() in the success, and

in the error case.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00212 · 11.0th percentile
Published
2024-06-08T12:52Z
EPSS history
Timeline
  • 08 JUN 12:52Z
    KEYS: trusted: Fix memory leak in tpm2_key_encode()
    cvelistv5