CVE-2024-26817 json
amdkfd: use calloc instead of kzalloc to avoid integer overflow
published 2024-04-13 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-24079
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.312, 5.4.274, 5.10.215, 5.15.155, 6.1.86, 6.6.27, 6.8.6, 6.9
- linux Debian 12 6.1.90-1
- linux Debian 14, Debian 13 6.8.9-1
debian advisories DEBIAN-CVE-2024-26817
- linux Ubuntu 20.04 LTS 5.4.0-189.209
- linux Ubuntu 22.04 LTS 5.15.0-116.126
- linux Ubuntu 24.04 LTS 6.8.0-38.38
- linux-aws Ubuntu 20.04 LTS 5.4.0-1128.138
- linux-aws Ubuntu 22.04 LTS 5.15.0-1065.71
- linux-aws Ubuntu 24.04 LTS 6.8.0-1011.12
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1132.141
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1064.72
ubuntu advisories UBUNTU-CVE-2024-26817
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.216.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.216.1
- kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
suse advisories SUSE-SU-2024:1870-1SUSE-SU-2024:1663-1SUSE-SU-2024:1659-1SUSE-SU-2024:1646-1SUSE-SU-2024:1644-1SUSE-SU-2024:1643-1
- git.kernel.org/stable/c/e6721ea845fcb93a764a92bd40f1afc0d6c69751 commit
- git.kernel.org/stable/c/8b0564704255c6b3c6a7188e86939f754e1577c0 commit
- git.kernel.org/stable/c/fcbd99b3c73309107e3be71f20dff9414df64f91 commit
- git.kernel.org/stable/c/cbac7de1d9901521e78cdc34e15451df3611f2ad commit
- git.kernel.org/stable/c/e6768c6737f4c02cba193a3339f0cc2907f0b86a commit
- git.kernel.org/stable/c/315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7 commit
- git.kernel.org/stable/c/0c33d11153949310d76631d8f4a4736519eacd3a commit
- git.kernel.org/stable/c/3b0daecfeac0103aba8b293df07a0cbaf8b43f29 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26817 updated cvss 5.5
kernel: amdkfd: use calloc instead of kzalloc to avoid integer overflow
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
git.kernel.org
/stable/c/e6721ea845fcb93a764a92bd40f1afc0d6c69751
patch
-
git.kernel.org
/stable/c/8b0564704255c6b3c6a7188e86939f754e1577c0
patch
-
git.kernel.org
/stable/c/fcbd99b3c73309107e3be71f20dff9414df64f91
patch
-
git.kernel.org
/stable/c/cbac7de1d9901521e78cdc34e15451df3611f2ad
patch
-
git.kernel.org
/stable/c/e6768c6737f4c02cba193a3339f0cc2907f0b86a
patch
-
git.kernel.org
/stable/c/315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7
patch
-
git.kernel.org
/stable/c/0c33d11153949310d76631d8f4a4736519eacd3a
patch
-
git.kernel.org
/stable/c/3b0daecfeac0103aba8b293df07a0cbaf8b43f29
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
mailing-list
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/P3TH6JK7ZZMSXSVHOJKIMSSOC6EQM4WV/
Sources
- CVE List CVE-2024-26817
- NVD CVE-2024-26817
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.