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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-04-17T15:59:22.597Z
- Modified: 2026-08-05T11:28:15.941Z
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0a1844bf0b532d84324453374ad6845f64066c28 before 4b59c3fada06e5e8010ef7700689c71986e667a2; from 0a1844bf0b532d84324453374ad6845f64066c28 before 8746c6c9dfa31d269c65dd52ab42fde0720b7d91; 6.7 (not affected: before 6.7; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from >6.7.0 before 6.7.6

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://git.kernel.org/stable/c/4b59c3fada06e5e8010ef7700689c71986e667a2> (patch)
- <https://git.kernel.org/stable/c/8746c6c9dfa31d269c65dd52ab42fde0720b7d91> (patch)

## Sources

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

---

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