CVE-2024-39489 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's handling of IPv6 segment routing HMAC algorithms. The issue arises in the 'seg6_hmac_init_algo' function, which fails to properly clean up memory allocations if an error occurs, leading to a leak of memory and cryptographic transformation references. This vulnerability is present in the stable versions of the Linux kernel.
The vulnerability has been addressed in the Linux kernel by updating the 'seg6_hmac_exit' function to only free memory that was successfully allocated. Users should upgrade to the latest stable version of the Linux kernel where this fix is applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.10, < 4.19.316 >= 4.20, < 5.4.278 >= 5.5, < 5.10.219 >= 5.11, < 5.15.161 >= 5.16, < 6.1.93 >= 6.2, < 6.6.33 >= 6.7, < 6.9.4 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 31, 2024 | Initial Analysis | [email protected] |
| Jul 10, 2024 | New CVE Received | kernel.org |