In the Linux kernel, the following vulnerability has been resolved: drm/buddy: Prevent BUG_ON by validating rounded allocation When DRM_BUDDY_CONTIGUOUS_ALLOCATION is set, the requested size is rounded up to the next power-of-two via roundup_pow_of_two().
Overview
In the Linux kernel, the following vulnerability has been resolved: drm/buddy: Prevent BUG_ON by validating rounded allocation When DRM_BUDDY_CONTIGUOUS_ALLOCATION is set, the requested size is rounded up to the next power-of-two via roundup_pow_of_two(). Similarly, for non-contiguous allocations with large min_block_size, the size is aligned up via round_up(). Both operations can produce a rounded size that exceeds mm->size, which later triggers BUG_ON(order > mm->max_order). Example scenarios: - 9G CONTIGUOUS allocation on 10G VRAM memory: roundup_pow_of_two(9G) = 16G > 10G - 9G allocation with 8G min_block_size on 10G VRAM memory: round_up(9G, 8G) = 16G > 10G Fix this by checking the rounded size against mm->size. For non-contiguous or range allocations where size > mm->size is invalid, return -EINVAL immediately. For contiguous allocations without range restrictions, allow the request to fall through to the existing __alloc_contig_try_harder() fallback. This ensures invalid user input returns an error or uses the fallback path instead of hitting BUG_ON. v2: (Matt A) - Add Fixes, Cc stable, and Closes tags for context
- Published
- 5/6/2026
- Last modified
- 11/11/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 6.7, < 6.12.75 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.16 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 6.19.6 | Verify advisory | Source |
Linux Linux | ≥ 0a1844bf0b532d84324453374ad6845f64066c28, < d764b8dd420098a4d253b8a5b27568c897edb2cf | Verify advisory | Source |
Linux Linux | ≥ 0a1844bf0b532d84324453374ad6845f64066c28, < 6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 | Verify advisory | Source |
Linux Linux | ≥ 0a1844bf0b532d84324453374ad6845f64066c28, < ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727 | Verify advisory | Source |
Linux Linux | ≥ 0a1844bf0b532d84324453374ad6845f64066c28, < 5488a29596cdba93a60a79398dc9b69d5bdadf92 | Verify advisory | Source |
Linux Linux | 6.7 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.