CVE-2026-43169
drm/buddy: Prevent BUG_ON by validating rounded allocation
Description
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
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to include the fix.
- Validate allocation size against memory limits.
- Return error for invalid allocations.
- Allow fall through for contiguous allocations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43169.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43169 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43169
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43169 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43169 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/buddy: Prevenir BUG_ON validando la asignación redondeada Cuando DRM_BUDDY_CONTIGUOUS_ALLOCATION está configurado, el tamaño solicitado se redondea hacia arriba a la siguiente potencia de dos a través de roundup_pow_of_two(). De manera similar, para asignaciones no contiguas con un min_block_size grande, el tamaño se alinea hacia arriba a través de round_up(). Ambas operaciones pueden producir un tamaño redondeado que excede mm -> size, lo que posteriormente activa BUG_ON(order > mm -> max_order). Escenarios de ejemplo: - Asignación CONTIGUA de 9G en memoria VRAM de 10G: roundup_pow_of_two(9G) = 16G mayor que 10G - Asignación de 9G con un min_block_size de 8G en memoria VRAM de 10G: round_up(9G, 8G) = 16G mayor que 10G Solucione esto comprobando el tamaño redondeado contra mm -> size. Para asignaciones no contiguas o de rango donde size > mm -> size es inválido, devolver -EINVAL inmediatamente. Para asignaciones contiguas sin restricciones de rango, permitir que la solicitud pase al mecanismo de reserva (fallback) existente __alloc_contig_try_harder(). Esto asegura que la entrada de usuario inválida devuelva un error o use la ruta de reserva en lugar de activar BUG_ON. v2: (Matt A) - Añadir las etiquetas Fixes, Cc stable y Closes para el contexto -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92 Added Reference https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 Added Reference https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf Added Reference https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727 Removed Reference https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92 Removed Reference https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 Removed Reference https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf Removed Reference https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727 Removed Reference Type https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-43169', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T15:30:18.564338Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0a1844bf0b532d84324453374ad6845f64066c28', 'lessThan': 'd764b8dd420098a4d253b8a5b27568c897edb2cf', 'versionType': 'git'}, {'status': 'affected', 'version': '0a1844bf0b532d84324453374ad6845f64066c28', 'lessThan': '6236c1cd9fdf433d39ed28b2491ccdfe7ae95061', 'versionType': 'git'}, {'status': 'affected', 'version': '0a1844bf0b532d84324453374ad6845f64066c28', 'lessThan': 'ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727', 'versionType': 'git'}, {'status': 'affected', 'version': '0a1844bf0b532d84324453374ad6845f64066c28', 'lessThan': '5488a29596cdba93a60a79398dc9b69d5bdadf92', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/drm_buddy.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/drm_buddy.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 Added Reference Type kernel.org: https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added Description 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 Added Reference https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92 Added Reference https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061 Added Reference https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf Added Reference https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727