CVE-2024-39489

MEDIUM

Linux Kernel < 4.19.316 - Memory Leak

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix memleak in seg6_hmac_init_algo seg6_hmac_init_algo returns without cleaning up the previous allocations if one fails, so it's going to leak all that memory and the crypto tfms. Update seg6_hmac_exit to only free the memory when allocated, so we can reuse the code directly.

Scores

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

Classification

CWE
CWE-401
Status published

Affected Products (8)

linux/linux_kernel < 4.19.316
linux/Kernel < 4.19.316linux
linux/Kernel < 5.4.278linux
linux/Kernel < 5.10.219linux
linux/Kernel < 5.15.161linux
linux/Kernel < 6.1.93linux
linux/Kernel < 6.6.33linux
linux/Kernel < 6.9.4linux

Timeline

Published Jul 10, 2024
Tracked Since Feb 18, 2026