{"id":"CVE-2026-46276","aliases":["CVE-2026-46276"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: fix zero-size GDS range init on RDNA4","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix zero-size GDS range init on RDNA4\n\nRDNA4 (GFX 12) hardware removes the GDS, GWS, and OA on-chip memory\nresources. The gfx_v12_0 initialisation code correctly leaves\nadev->gds.gds_size, adev->gds.gws_size, and adev->gds.oa_size at\nzero to reflect this.\n\namdgpu_ttm_init() unconditionally calls amdgpu_ttm_init_on_chip() for\neach of these resources regardless of size. When the size is zero,\namdgpu_ttm_init_on_chip() forwards the call to ttm_range_man_init(),\nwhich calls drm_mm_init(mm, 0, 0). drm_mm_init() immediately fires\nDRM_MM_BUG_ON(start + size <= start) -- trivially true when size is\nzero -- crashing the kernel during modprobe of amdgpu on an RX 9070 XT.\n\nGuard against this by returning 0 early from\namdgpu_ttm_init_on_chip() when size_in_page is zero. This skips TTM\nresource manager registration for hardware resources that are absent,\nwithout affecting any other GPU type.\n\nDRM_MM_BUG_ON() only asserts if CONFIG_DRM_DEBUG_MM is enabled in\nthe kernel config.  This is apparently rarely enabled as these chips\nhave been in the market for over a year and this issue was only reported\nnow.\n\nOops-Analysis: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html\n(cherry picked from commit 5719ce5865279cad4fd5f01011fe037168503f2d)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix zero-size GDS range init on RDNA4\n\nRDNA4 (GFX 12) hardware removes the GDS, GWS, and OA on-chip memory\nresources. The gfx_v12_0 initialisation code correctly leaves\nadev->gds.gds_size, adev->gds.gws_size, and adev->gds.oa_size at\nzero to reflect this.\n\namdgpu_ttm_init() unconditionally calls amdgpu_ttm_init_on_chip() for\neach of these resources regardless of size. When the size is zero,\namdgpu_ttm_init_on_chip() forwards the call to ttm_range_man_init(),\nwhich calls drm_mm_init(mm, 0, 0). drm_mm_init() immediately fires\nDRM_MM_BUG_ON(start + size <= start) -- trivially true when size is\nzero -- crashing the kernel during modprobe of amdgpu on an RX 9070 XT.\n\nGuard against this by returning 0 early from\namdgpu_ttm_init_on_chip() when size_in_page is zero. This skips TTM\nresource manager registration for hardware resources that are absent,\nwithout affecting any other GPU type.\n\nDRM_MM_BUG_ON() only asserts if CONFIG_DRM_DEBUG_MM is enabled in\nthe kernel config.  This is apparently rarely enabled as these chips\nhave been in the market for over a year and this issue was only reported\nnow.\n\nOops-Analysis: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html\n(cherry picked from commit 5719ce5865279cad4fd5f01011fe037168503f2d)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amdgpu: corrige la inicialización de rango GDS de tamaño cero en RDNA4\n\nEl 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.\n\namdgpu_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.\n\nSe 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.\n\nDRM_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.\n\nAnálisis de Oops: http://oops.fenrus.org/reports/bugzilla.korg/221376/report.html\n(seleccionado de la confirmación 5719ce5865279cad4fd5f01011fe037168503f2d)","source":"nvd"}],"published":"2026-06-08T15:41:18.672Z","modified":"2026-11-06T17:17:54.060Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"1f5d33e7b0a9a2a140f46e22fb52eede323c5946","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"9bc925759c05feae7dfa9570e77131d54729c8ea","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"36f9602fb22ede69fcc8b422be0cf8105bf655ad","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"be0376affcafa0bbb371bb501579a825eae32281","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"0e21db1a77967bc15df662efdca8ea8a61d124ea","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"30c000a49094ec568c9b51b7421f7a4a3f0b0298","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"3e26c76891ab99fa173e9c501119fbb5c9f4600f","status":"affected"},{"type":"git","introduced":"c832c346cdf9022872655be621880e0f66f4135d","fixed":"095a8b0ad3c3b5cdc3850d961adb8a8f735220bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1f5d33e7b0a9a2a140f46e22fb52eede323c5946","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bc925759c05feae7dfa9570e77131d54729c8ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36f9602fb22ede69fcc8b422be0cf8105bf655ad","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be0376affcafa0bbb371bb501579a825eae32281","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e21db1a77967bc15df662efdca8ea8a61d124ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30c000a49094ec568c9b51b7421f7a4a3f0b0298","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e26c76891ab99fa173e9c501119fbb5c9f4600f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/095a8b0ad3c3b5cdc3850d961adb8a8f735220bb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:13:14.841Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46276","url":"https://www.cve.org/CVERecord?id=CVE-2026-46276","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:46.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46276","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46276","licence":"Public domain","modified":"2026-11-06T17:17:54.060Z"}],"updatedAt":"2026-11-25T22:59:24.000Z","epss":{"score":0.00162,"percentile":0.03009,"date":"2026-11-30T12:00:22.000Z"}}