# CVE-2024-39489: ipv6: sr: fix memleak in seg6\_hmac\_init\_algo

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-10 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-39489, DEBIAN-CVE-2024-39489
- Record: https://cvemate.com/vulnerability/CVE-2024-39489 · JSON: https://cvemate.com/vulnerability/CVE-2024-39489/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.237%, percentile 15.725%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 131)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-192.212 \| \< 5.15.0-121.131 \| \< 6.8.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1130.140 \| \< 5.15.0-1069.75 \| \< 6.8.0-1015.16
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1130.140~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1015.16~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1130.140+fips1 \| \< 5.15.0-1069.75+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1135.142 \| \< 5.15.0-1072.81 \| \< 6.8.0-1014.16
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 35)

- <https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976>
- <https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3>
- <https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be>
- <https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c>
- <https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821>
- <https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6>
- <https://git.kernel.org/stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383>
- <https://git.kernel.org/stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://ubuntu.com/security/CVE-2024-39489>
- <https://www.cve.org/CVERecord?id=CVE-2024-39489>
- <https://git.kernel.org/linus/efb9f4f19f8e37fde43dfecebc80292d179f56c6>
- <https://ubuntu.com/security/notices/USN-6951-1>
- <https://ubuntu.com/security/notices/USN-6953-1>
- <https://ubuntu.com/security/notices/USN-6951-2>
- <https://ubuntu.com/security/notices/USN-6951-3>
- <https://ubuntu.com/security/notices/USN-6951-4>
- <https://ubuntu.com/security/notices/USN-6979-1>

---

Data as of 2026-12-05T04:02:35.638Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
