VDB

CVE-2026-43169

CVE-2026-43169 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-libbpfAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.18-develAmazon Linux1:6.18.16-18.222.amzn2023
bpftool6.12Amazon Linux1:6.12.77-99.140.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.77-99.140.amzn2023

Affected products

VendorProductVersions
LinuxLinux0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28
LinuxLinux6.7, 0, 6.12.75
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.18-libbpf0
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.77-99.1400
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
LinuxLinux7.0, 0a1844bf0b532d84324453374ad6845f64066c28, 0a1844bf0b532d84324453374ad6845f64066c28
amazon:2023python3-perf6.180
amazon:2023kernel6.18-libbpf-devel0
amazon:2023kernel6.12-tools0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›