What’s Vulnerable › Vulnerabilities

CVE-2024-39489: ipv6: sr: fix memleak in seg6_hmac_init_algo

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.316, 5.10.219, 5.15.161, 5.4.278. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-39489 or the next vulnerability affects your stack