CVE Catalog

CVE-2024-39489

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

14th percentile - higher than 14% of all known CVEs

Summary

In the Linux kernel, the seg6_hmac_init_algo function in the ipv6: sr module did not clean up previous allocations on failure, causing a memory leak and leaking crypto tfms. The fix modifies seg6_hmac_exit to free memory only when allocated.

Risk Assessment

Kernel memory leak can lead to resource exhaustion and denial of service upon repeated invocation. Requires the ability to configure IPv6 segment routing.

Recommendation

Update the Linux kernel to a version with the fix. Restrict IPv6 segment routing configuration to trusted users.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS