CVE-2024-39489
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6Patch
- https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3Patch
- https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821Patch
- https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0cPatch
- https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976Patch
- https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02bePatch
- https://git.kernel.org/stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6Patch
- https://git.kernel.org/stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383Patch