{"id":"CVE-2026-43169","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-05-06T12:16:35.197","lastModified":"2026-11-11T20:10:00.273","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/buddy: Prevent BUG_ON by validating rounded allocation\n\nWhen DRM_BUDDY_CONTIGUOUS_ALLOCATION is set, the requested size is\nrounded up to the next power-of-two via roundup_pow_of_two().\nSimilarly, for non-contiguous allocations with large min_block_size,\nthe size is aligned up via round_up(). Both operations can produce a\nrounded size that exceeds mm->size, which later triggers\nBUG_ON(order > mm->max_order).\n\nExample scenarios:\n- 9G CONTIGUOUS allocation on 10G VRAM memory:\n  roundup_pow_of_two(9G) = 16G > 10G\n- 9G allocation with 8G min_block_size on 10G VRAM memory:\n  round_up(9G, 8G) = 16G > 10G\n\nFix this by checking the rounded size against mm->size. For\nnon-contiguous or range allocations where size > mm->size is invalid,\nreturn -EINVAL immediately. For contiguous allocations without range\nrestrictions, allow the request to fall through to the existing\n__alloc_contig_try_harder() fallback.\n\nThis ensures invalid user input returns an error or uses the fallback\npath instead of hitting BUG_ON.\n\nv2: (Matt A)\n- Add Fixes, Cc stable, and Closes tags for context"},{"lang":"es","value":"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:\n- Asignación CONTIGUA de 9G en memoria VRAM de 10G: roundup_pow_of_two(9G) = 16G mayor que 10G\n- 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)\n- Añadir las etiquetas Fixes, Cc stable y Closes para el contexto"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/drm_buddy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"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","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/drm_buddy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"6.12.75","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.16","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","versionType":"semver","status":"unaffected"},{"version":"7.0","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-06T15:30:18.564338Z","id":"CVE-2026-43169","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.75","matchCriteriaId":"BCE16369-98ED-41CF-8995-DFDC10B288D2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.16","matchCriteriaId":"B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.6","matchCriteriaId":"373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5488a29596cdba93a60a79398dc9b69d5bdadf92","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6236c1cd9fdf433d39ed28b2491ccdfe7ae95061","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d764b8dd420098a4d253b8a5b27568c897edb2cf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ecb32c60d8cbed2ee9ce9f343b6aa2f32babc727","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}