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

Medium 5.5 Published Updated

An integer overflow in the Linux kernel's amdkfd driver could allow attackers to execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26817?

CVE-2024-26817 is a medium-severity vulnerability in Debian Debian Linux, published on 13 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-190

Which versions are affected by CVE-2024-26817?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-26817?

Apply the vendor's patch.

Is CVE-2024-26817 being exploited?

There is no known exploitation of CVE-2024-26817 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-26817, DEBIAN-CVE-2024-26817, GHSA-rw75-4jcc-fx6w, UBUNTU-CVE-2024-26817.

Is CVE-2024-26817 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free