Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26911

published high CVSS 3.1 · 7.8

drm/buddy: Fix alloc_range() error handling code

Published
17 Apr 2024, 15:59:22 UTC
Updated
05 Aug 2026, 11:28:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0a1844bf0b532d84324453374ad6845f64066c28 to < 4b59c3fada06e5e8010ef7700689c71986e667a2 · 0a1844bf0b532d84324453374ad6845f64066c28 to < 8746c6c9dfa31d269c65dd52ab42fde0720b7d91 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable allocator is reached only through DRM ioctls on a local device node (`/dev/dri/renderD128` or the primary node's dumb-buffer ioctl); there is no network-facing path to drm_buddy. Exploitation requires local code execution on the machine. AC:L - The attacker fully controls the inputs that drive the bug — allocation size and VRAM fragmentation — via repeated GEM create/destroy and CS submissions, so steering `__alloc_contig_try_harder()` to a free block whose RHS range overruns `mm->size` (or whose LHS offset underflows) is deterministic grooming, not a race or a condition outside their control. PR:L - An unprivileged local user with render-node access can trigger it; on typical desktop distros `/dev/dri/renderD128` is world-accessible, and GPU-accelerated containers, Android apps and ChromeOS sandboxes are granted it. `AMDGPU_GEM_CREATE`, `AMDGPU_CS`, `AMDGPU_GEM_VA` and `DRM_IOCTL_MODE_CREATE_DUMB` require no capability. UI:N - The attacker performs the allocations from their own process and consumes the resulting undersized buffer object themselves; no action by any other user is needed. S:U - The mis-sized allocation, the type-confused block, and the resulting VRAM accesses all remain under the kernel's own security authority — this is standard in-kernel memory corruption, not a VM escape or IOMMU boundary bypass. C:H - The buffer's tail is backed by VRAM belonging to other GPU clients, the scanout framebuffer, or kernel BOs, and the cursor overrun yields an attacker-influenced out-of-bounds VRAM offset; the attacker reads that memory via GPU shaders, CPU mmap of the BO, or dma-buf export — the reported "display corruption" is other buffers' contents being surfaced. I:H - The same aliased and out-of-bounds VRAM is writable through the attacker's GPU commands and CPU mappings, corrupting other clients' buffers; via `amdgpu_vm_pt_create()` a short-backed GPU page-table BO lets PTE writes land outside their allocation, giving control over GPU virtual address translations. A:H - The overrun hits `BUG_ON(start + size > res->size)` in `amdgpu_res_first()` and `BUG_ON(size > cur->remaining)` in `amdgpu_res_next()`, and the bogus block order (up to 63) drives absurd mapping sizes causing GPU page faults, GPU resets and hangs — all trivially repeatable by an unprivileged process.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0a1844bf0b532d84324453374ad6845f64066c28 to < 4b59c3fada06e5e8010ef7700689c71986e667a2 (affected · git)0a1844bf0b532d84324453374ad6845f64066c28 to < 8746c6c9dfa31d269c65dd52ab42fde0720b7d91 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

drm/buddy: Fix alloc_range() error handling code

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b5196c6ba2e38eb8fa2e86fca1092bfac8eac2e6e362aad176a7c285451e1a90
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected