CVE-2026-46276
JSON

5.5medium

drm/amdgpu: fix zero-size GDS range init on RDNA4

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 3% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix zero-size GDS range init on RDNA4 RDNA4 (GFX 12) hardware removes the GDS, GWS, and OA on-chip memory resources. The gfx_v12_0 initialisation code correctly leaves adev->gds.gds_size, adev->gds.gws_size, and adev->gds.oa_size at zero to reflect this. amdgpu_ttm_init() unconditionally calls amdgpu_ttm_init_on_chip() for each of these resources regardless of size. When the size is zero, amdgpu_ttm_init_on_chip() forwards the call to ttm_range_man_init(), which calls drm_mm_init(mm, 0, 0). drm_mm_init() immediately fires DRM_MM_BUG_ON(start + size <= start) -- trivially true when size is zero -- crashing the kernel during modprobe of amdgpu on an RX 9070 XT. Guard against this by returning 0 early from amdgpu_ttm_init_on_chip() when size_in_page is zero. This skips TTM resource manager registration for hardware resources that are absent, without affecting any other GPU type. DRM_MM_BUG_ON() only asserts if CONFIG_DRM_DEBUG_MM is enabled in the kernel config. This is apparently rarely enabled as these chips have been in the market for over a year and this issue was only reported now. Oops-Analysis: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html (cherry picked from commit 5719ce5865279cad4fd5f01011fe037168503f2d)

Affected

Product or packageVersionsReported by
Linux Linuxfrom c832c346cdf9022872655be621880e0f66f4135d before 1f5d33e7b0a9a2a140f46e22fb52eede323c5946, from c832c346cdf9022872655be621880e0f66f4135d before 9bc925759c05feae7dfa9570e77131d54729c8ea, from c832c346cdf9022872655be621880e0f66f4135d before 36f9602fb22ede69fcc8b422be0cf8105bf655ad, from c832c346cdf9022872655be621880e0f66f4135d before be0376affcafa0bbb371bb501579a825eae32281, from c832c346cdf9022872655be621880e0f66f4135d before 0e21db1a77967bc15df662efdca8ea8a61d124ea, from c832c346cdf9022872655be621880e0f66f4135d before 30c000a49094ec568c9b51b7421f7a4a3f0b0298, from c832c346cdf9022872655be621880e0f66f4135d before 3e26c76891ab99fa173e9c501119fbb5c9f4600f, from c832c346cdf9022872655be621880e0f66f4135d before 095a8b0ad3c3b5cdc3850d961adb8a8f735220bb and 1 more
Not affected: before 4.20, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.140 up to 6.6.*, from 6.12.86 up to 6.12.*
CVE List
linux linux_kernelfrom 4.20 before 5.10.258, from 5.11 before 5.15.209, from 5.16 before 6.1.175, from 6.2 before 6.6.140, from 6.7 before 6.12.86, from 6.13 before 6.18.27, from 6.19 before 7.0.4, 7.1NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix zero-size GDS range init on RDNA4 RDNA4 (GFX 12) hardware removes the GDS, GWS, and OA on-chip memory resources. The gfx_v12_0 initialisation code correctly leaves adev->gds.gds_size, adev->gds.gws_size, and adev->gds.oa_size at zero to reflect this. amdgpu_ttm_init() unconditionally calls amdgpu_ttm_init_on_chip() for each of these resources regardless of size. When the size is zero, amdgpu_ttm_init_on_chip() forwards the call to ttm_range_man_init(), which calls drm_mm_init(mm, 0, 0). drm_mm_init() immediately fires DRM_MM_BUG_ON(start + size <= start) -- trivially true when size is zero -- crashing the kernel during modprobe of amdgpu on an RX 9070 XT. Guard against this by returning 0 early from amdgpu_ttm_init_on_chip() when size_in_page is zero. This skips TTM resource manager registration for hardware resources that are absent, without affecting any other GPU type. DRM_MM_BUG_ON() only asserts if CONFIG_DRM_DEBUG_MM is enabled in the kernel config. This is apparently rarely enabled as these chips have been in the market for over a year and this issue was only reported now. Oops-Analysis: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html (cherry picked from commit 5719ce5865279cad4fd5f01011fe037168503f2d)

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amdgpu: corrige la inicialización de rango GDS de tamaño cero en RDNA4 El hardware RDNA4 (GFX 12) elimina los recursos de memoria en chip GDS, GWS y OA. El código de inicialización gfx_v12_0 deja correctamente adev->gds.gds_size, adev->gds.gws_size y adev->gds.oa_size en cero para reflejar esto. amdgpu_ttm_init() llama incondicionalmente a amdgpu_ttm_init_on_chip() para cada uno de estos recursos, independientemente del tamaño. Cuando el tamaño es cero, amdgpu_ttm_init_on_chip() reenvía la llamada a ttm_range_man_init(), que llama a drm_mm_init(mm, 0, 0). drm_mm_init() dispara inmediatamente DRM_MM_BUG_ON(start + size <= start) -- trivialmente cierto cuando el tamaño es cero -- lo que provoca el fallo del kernel durante el modprobe de amdgpu en una RX 9070 XT. Se evita esto devolviendo 0 anticipadamente desde amdgpu_ttm_init_on_chip() cuando size_in_page es cero. Esto omite el registro del gestor de recursos TTM para los recursos de hardware que están ausentes, sin afectar a ningún otro tipo de GPU. DRM_MM_BUG_ON() solo se activa si CONFIG_DRM_DEBUG_MM está habilitado en la configuración del kernel. Esto aparentemente rara vez está habilitado, ya que estos chips han estado en el mercado durante más de un año y este problema solo se informó ahora. Análisis de Oops: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html (seleccionado de la confirmación 5719ce5865279cad4fd5f01011fe037168503f2d)

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46276 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-46276 changed 2026-11-06Public domain