CVE-2024-36967

MEDIUM

Linux Kernel 5.13-5.15.159, 5.16-6.1.91, 6.2-6.6.31, 6.7-6.8.10, 6.9-6.9.1 - Use-After-Free in tpm2_key_encode()

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (20)
linux/Kernel 5.13.0 - 5.15.160linux
linux/Kernel 5.16.0 - 6.1.92linux
linux/Kernel 6.2.0 - 6.6.32linux
linux/Kernel 6.7.0 - 6.8.11linux
linux/Kernel 6.9.0 - 6.9.2linux
Linux/Linux < 5.13
Linux/Linux 5.13
Linux/Linux 5.15.160 - 5.15.*
Linux/Linux 6.1.92 - 6.1.*
Linux/Linux 6.10
... and 10 more
Published Jun 08, 2024
Tracked Since Feb 18, 2026