NetSight
medium5.5

CVE-2024-39489

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 u…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.10 before 4.19.316
from 4.20 before 5.4.278
from 5.5 before 5.10.219
from 5.11 before 5.15.161
from 5.16 before 6.1.93
from 6.2 before 6.6.33

Weakness classification

References