CVE-2026-43169
drm/buddy: Prevent BUG_ON by validating rounded allocation
Reported by linux · Published May 6, 2026
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.18-libbpf | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.16-18.222.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28 |
| Linux | Linux | 6.7, 0, 6.12.75 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.77-99.140 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| Linux | Linux | 7.0, 0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…and 12 more
Timeline
- May 6, 2026 CVE Published
- May 6, 2026 CVE Updated
- May 6, 2026 Security Advisory (96 in total, the first dated here)
- May 18, 2026 EPSS Score (24 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (91 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-43169
vulnetix vdb fixes CVE-2026-43169
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43169/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart