CVE-2024-26914 drm/amd/display: fix incorrect mpc_combine array size

High 7.8 Published Updated

An array size mismatch in the AMD display driver allows buffer overflows, potentially leading to code execution or system crashes.

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-26914?

CVE-2024-26914 is a high-severity vulnerability in Linux kernel, published on 17 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:

drm/amd/display: fix incorrect mpc_combine array size

[why] MAX_SURFACES is per stream, while MAX_PLANES is per asic. The mpc_combine is an array that records all the planes per asic. Therefore MAX_PLANES should be used as the array size. Using MAX_SURFACES causes array overflow when there are more than 3 planes.

[how] Use the MAX_PLANES for the mpc_combine array size.

Weakness: CWE-129

Which versions are affected by CVE-2024-26914?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26914?

Apply the vendor's patch.

Is CVE-2024-26914 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-62803, BELL-CVE-2024-26914, DEBIAN-CVE-2024-26914, GHSA-fcch-xqh9-xqm4, ROOT-OS-DEBIAN-11-CVE-2024-26914, ROOT-OS-DEBIAN-12-CVE-2024-26914 and 1 more.

Is CVE-2024-26914 in your software?

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

Check your SBOMs for free