CVE-2024-39489
ipv6: sr: fix memleak in seg6_hmac_init_algo
Check your servers for CVE-2024-39489
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-39489 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jul 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before afd5730969aec960a2fee4e5ee839a6014643976 affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3 affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before daf341e0a2318b813427d5a78788c86f4a7f02be affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 61d31ac85b4572d11f8071855c0ccb4f32d76c0c affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 599a5654215092ac22bfc453f4fd3959c55ea821 affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before 0e44d6cbe8de983470c3d2f978649783384fdcb6 affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before f6a99ef4e056c20a138a95cc51332b2b96c8f383 affected from bf355b8d2c30a289232042cacc1cfaea4923936c, before efb9f4f19f8e37fde43dfecebc80292d179f56c6
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 4.19.316 up to and including 4.19.* unaffected from 5.4.278 up to and including 5.4.* unaffected from 5.10.219 up to and including 5.10.* unaffected from 5.15.161 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.9.4 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-39489 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-39489
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-39489
trivy image --scanners vuln IMAGE | grep CVE-2024-39489
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976 git.kernel.org
- https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3 git.kernel.org
- https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be git.kernel.org
- https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c git.kernel.org
- https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821 git.kernel.org
- https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6 git.kernel.org
- https://git.kernel.org/stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383 git.kernel.org
- https://git.kernel.org/stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
Source: the record CVE-2024-39489 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse