CVE-2024-26817
JSON

5.5medium

amdkfd: use calloc instead of kzalloc to avoid integer overflow

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.76% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelbefore 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.9NVD
debian debian_linux10.0NVD

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: amdkfd: usa calloc en lugar de kzalloc para evitar el desbordamiento de enteros. Esto usa calloc en lugar de hacer la multiplicación que podría desbordarse.

References

https://git.kernel.org/stable/c/e6721ea845fcb93a764a92bd40f1afc0d6c69751patch
https://git.kernel.org/stable/c/8b0564704255c6b3c6a7188e86939f754e1577c0patch
https://git.kernel.org/stable/c/fcbd99b3c73309107e3be71f20dff9414df64f91patch
https://git.kernel.org/stable/c/cbac7de1d9901521e78cdc34e15451df3611f2adpatch
https://git.kernel.org/stable/c/e6768c6737f4c02cba193a3339f0cc2907f0b86apatch
https://git.kernel.org/stable/c/315eb3c2df7e4cb18e3eacfa18a53a46f2bf0ef7patch
https://git.kernel.org/stable/c/0c33d11153949310d76631d8f4a4736519eacd3apatch
https://git.kernel.org/stable/c/3b0daecfeac0103aba8b293df07a0cbaf8b43f29patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P3TH6JK7ZZMSXSVHOJKIMSSOC6EQM4WV/

Sources

SourceRecordLicence
CVE ListCVE-2024-26817 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26817 changed 2026-06-17Public domain