CVE-2024-26911 drm/buddy: Fix alloc_range() error handling code

High 7.8 Published Updated

A logic error in the Linux kernel DRM buddy allocator causes display corruption and potential denial of service when memory allocation fails.

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

CVE-2024-26911 is a high-severity denial of service 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/buddy: Fix alloc_range() error handling code

Few users have observed display corruption when they boot the machine to KDE Plasma or playing games. We have root caused the problem that whenever alloc_range() couldn't find the required memory blocks the function was returning SUCCESS in some of the corner cases.

The right approach would be if the total allocated size is less than the required size, the function should return -ENOSPC.

Weakness: CWE-755

Which versions are affected by CVE-2024-26911?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26911?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-26911 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26911, DEBIAN-CVE-2024-26911, GHSA-g5vg-rvq4-mq5p, UBUNTU-CVE-2024-26911.

Is CVE-2024-26911 in your software?

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

Check your SBOMs for free