CVEvulnerability

CVE-2024-36967

5.5 MEDIUM Published 2024-06-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-06-08
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

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.

Affected configurations

• linux linux kernel (>= 5.13 < 5.15.160) • linux linux kernel (>= 5.16 < 6.1.92) • linux linux kernel (>= 6.2 < 6.6.32) • linux linux kernel (>= 6.7 < 6.8.11) • linux linux kernel (>= 6.9 < 6.9.2)

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References