CVE-2024-26817
amdkfd: use calloc instead of kzalloc to avoid integer overflow
Check your servers for CVE-2024-26817
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-26817 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:
amdkfd: use calloc instead of kzalloc to avoid integer overflow
This uses calloc instead of doing the multiplication which might overflow.
Exploitation
EPSS 0.76%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Apr 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 4a488a7ad71401169cecee75dc94bcce642e2c53, before e6721ea845fcb93a764a92bd40f1afc0d6c69751 affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before 8b0564704255c6b3c6a7188e86939f754e1577c0 affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before fcbd99b3c73309107e3be71f20dff9414df64f91 affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before cbac7de1d9901521e78cdc34e15451df3611f2ad affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before e6768c6737f4c02cba193a3339f0cc2907f0b86a affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before 315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7 affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before 0c33d11153949310d76631d8f4a4736519eacd3a affected from 4a488a7ad71401169cecee75dc94bcce642e2c53, before 3b0daecfeac0103aba8b293df07a0cbaf8b43f29
Other versions: unaffected
|
| Linux |
affected 3.19 unaffected before 3.19 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.155 up to and including 5.15.* unaffected from 6.1.86 up to and including 6.1.* unaffected from 6.6.27 up to and including 6.6.* unaffected from 6.8.6 up to and including 6.8.* unaffected 6.9 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-26817 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26817
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-26817
trivy image --scanners vuln IMAGE | grep CVE-2024-26817
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/e6721ea845fcb93a764a92bd40f1afc0d6c69751 git.kernel.org
- https://git.kernel.org/stable/c/8b0564704255c6b3c6a7188e86939f754e1577c0 git.kernel.org
- https://git.kernel.org/stable/c/fcbd99b3c73309107e3be71f20dff9414df64f91 git.kernel.org
- https://git.kernel.org/stable/c/cbac7de1d9901521e78cdc34e15451df3611f2ad git.kernel.org
- https://git.kernel.org/stable/c/e6768c6737f4c02cba193a3339f0cc2907f0b86a git.kernel.org
- https://git.kernel.org/stable/c/315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7 git.kernel.org
- https://git.kernel.org/stable/c/0c33d11153949310d76631d8f4a4736519eacd3a git.kernel.org
- https://git.kernel.org/stable/c/3b0daecfeac0103aba8b293df07a0cbaf8b43f29 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P3TH6JK7ZZMSXSVHOJKIMSSOC6EQM4WV/ lists.fedoraproject.org
Source: the record CVE-2024-26817 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