# CVE-2024-26817: amdkfd: use calloc instead of kzalloc to avoid integer overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-04-13T11:17:08.764Z
- Modified: 2026-06-17T07:18:25.600Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4a488a7ad71401169cecee75dc94bcce642e2c53 before e6721ea845fcb93a764a92bd40f1afc0d6c69751; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before 8b0564704255c6b3c6a7188e86939f754e1577c0; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before fcbd99b3c73309107e3be71f20dff9414df64f91; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before cbac7de1d9901521e78cdc34e15451df3611f2ad; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before e6768c6737f4c02cba193a3339f0cc2907f0b86a; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before 315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before 0c33d11153949310d76631d8f4a4736519eacd3a; from 4a488a7ad71401169cecee75dc94bcce642e2c53 before 3b0daecfeac0103aba8b293df07a0cbaf8b43f29; 3.19 (not affected: before 3.19; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.155 up to 5.15.*; from 6.1.86 up to 6.1.*; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.155; from 5.16 before 6.1.86; from 6.2 before 6.6.27; from 6.7 before 6.8.6; 6.9
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/e6721ea845fcb93a764a92bd40f1afc0d6c69751> (patch)
- <https://git.kernel.org/stable/c/8b0564704255c6b3c6a7188e86939f754e1577c0> (patch)
- <https://git.kernel.org/stable/c/fcbd99b3c73309107e3be71f20dff9414df64f91> (patch)
- <https://git.kernel.org/stable/c/cbac7de1d9901521e78cdc34e15451df3611f2ad> (patch)
- <https://git.kernel.org/stable/c/e6768c6737f4c02cba193a3339f0cc2907f0b86a> (patch)
- <https://git.kernel.org/stable/c/315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7> (patch)
- <https://git.kernel.org/stable/c/0c33d11153949310d76631d8f4a4736519eacd3a> (patch)
- <https://git.kernel.org/stable/c/3b0daecfeac0103aba8b293df07a0cbaf8b43f29> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P3TH6JK7ZZMSXSVHOJKIMSSOC6EQM4WV/>

## Sources

- CVE List: [CVE-2024-26817](https://www.cve.org/CVERecord?id=CVE-2024-26817), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26817](https://nvd.nist.gov/vuln/detail/CVE-2024-26817), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26817 · Whole record: https://cve.day/CVE-2024-26817.json · Rebuilt by cve.day 2026-11-25T22:58:39.165Z
