{"id":"CVE-2024-39489","summary":"ipv6: sr: fix memleak in seg6_hmac_init_algo","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: sr: fix memleak in seg6_hmac_init_algo\n\nseg6_hmac_init_algo returns without cleaning up the previous allocations\nif one fails, so it's going to leak all that memory and the crypto tfms.\n\nUpdate seg6_hmac_exit to only free the memory when allocated, so we can\nreuse the code directly.","modified":"2026-04-02T12:17:01.573945Z","published":"2024-07-10T07:14:08.988Z","related":["SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39489.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821"},{"type":"WEB","url":"https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976"},{"type":"WEB","url":"https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39489.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39489"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bf355b8d2c30a289232042cacc1cfaea4923936c"},{"fixed":"afd5730969aec960a2fee4e5ee839a6014643976"},{"fixed":"4a3fcf53725b70010d1cf869a2ba549fed6b8fb3"},{"fixed":"daf341e0a2318b813427d5a78788c86f4a7f02be"},{"fixed":"61d31ac85b4572d11f8071855c0ccb4f32d76c0c"},{"fixed":"599a5654215092ac22bfc453f4fd3959c55ea821"},{"fixed":"0e44d6cbe8de983470c3d2f978649783384fdcb6"},{"fixed":"f6a99ef4e056c20a138a95cc51332b2b96c8f383"},{"fixed":"efb9f4f19f8e37fde43dfecebc80292d179f56c6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39489.json"}}],"schema_version":"1.7.5"}