drm/amdgpu: check ras and obj before dereference (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: check ras and obj before dereference nbio_v7_9_handle_ras_controller_intr_no_bifring() dereferences ras and obj without checking either for NULL. Both amdgpu_ras_get_context() and amdgpu_ras_find_obj() can return NULL, e.g. during the window between adev->nbio.ras being set (early in amdgpu_ras_init(), by design, to enable the fatal-error interrupt as soon as possible) and the PCIE_BIF ras object actually being created in RAS late_init. Any interrupt in that window crashes in hard-IRQ context. This is analogous to commit d190b459b2a4 ("drm/amdgpu: the warning dereferencing obj for nbio_v7_4"), which fixed the same issue in the nbio_v7_4 handler. Found by Linux Verification Center (linuxtesting.org) with SVACE. (cherry picked from commit c7071767a50a32ed727cf800ac84372429e3b4b3)
References
- https://git.kernel.org/stable/c/b7c7f07a40037514f8e890aa00f8d7b196d680cf
- https://git.kernel.org/stable/c/fc5f845a291fc8175e6857cd6ad042818da192e8
- https://git.kernel.org/stable/c/37583946d8751f8e285c467d770ac0b609b82a23
- https://git.kernel.org/stable/c/315c22712715491f0dfafdaf2c2b437540e68702
- https://git.kernel.org/stable/c/723d4dc628d764b19cf9efca14b82cca5ff020c9
European references
- ENISA EUVD · EUVD-2026-93198
- GCVE · GCVE-0-2026-98270
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 7692e1ee2446fd1940b5caa6e09779504a58881a < b7c7f07a40037514f8e890aa00f8d7b196d680cf ; affected 7692e1ee2446fd1940b5caa6e09779504a58881a < fc5f845a291fc8175e6857cd6ad042818da192e8 ; affected 7692e1ee2446fd1940b5caa6e09779504a58881a < 37583946d8751f8e285c467d770ac0b609b82a23 ; affected 7692e1ee2446fd1940b5caa6e09779504a58881a < 315c22712715491f0dfafdaf2c2b437540e68702 ; affected 7692e1ee2446fd1940b5caa6e09779504a58881a < 723d4dc628d764b19cf9efca14b82cca5ff020c9 |
| Linux · Linux | affected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.54 ≤ 6.18.* ; unaffected 7.2.8 ≤ 7.2.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |