{"id":"CVE-2026-98270","aliases":["CVE-2026-98270"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: check ras and obj before dereference","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: check ras and obj before dereference\n\nnbio_v7_9_handle_ras_controller_intr_no_bifring() dereferences ras and obj\nwithout checking either for NULL. Both amdgpu_ras_get_context() and\namdgpu_ras_find_obj() can return NULL, e.g. during the window between\nadev->nbio.ras being set (early in amdgpu_ras_init(), by design, to\nenable the fatal-error interrupt as soon as possible) and the PCIE_BIF\nras object actually being created in RAS late_init. Any interrupt in that\nwindow crashes in hard-IRQ context.\n\nThis is analogous to commit d190b459b2a4 (\"drm/amdgpu: the warning\ndereferencing obj for nbio_v7_4\"), which fixed the same issue in the\nnbio_v7_4 handler.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n(cherry picked from commit c7071767a50a32ed727cf800ac84372429e3b4b3)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: check ras and obj before dereference\n\nnbio_v7_9_handle_ras_controller_intr_no_bifring() dereferences ras and obj\nwithout checking either for NULL. Both amdgpu_ras_get_context() and\namdgpu_ras_find_obj() can return NULL, e.g. during the window between\nadev->nbio.ras being set (early in amdgpu_ras_init(), by design, to\nenable the fatal-error interrupt as soon as possible) and the PCIE_BIF\nras object actually being created in RAS late_init. Any interrupt in that\nwindow crashes in hard-IRQ context.\n\nThis is analogous to commit d190b459b2a4 (\"drm/amdgpu: the warning\ndereferencing obj for nbio_v7_4\"), which fixed the same issue in the\nnbio_v7_4 handler.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n(cherry picked from commit c7071767a50a32ed727cf800ac84372429e3b4b3)","source":"cvelist"}],"published":"2026-10-06T08:45:32.506Z","modified":"2026-10-19T10:18:28.257Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7692e1ee2446fd1940b5caa6e09779504a58881a","fixed":"b7c7f07a40037514f8e890aa00f8d7b196d680cf","status":"affected"},{"type":"git","introduced":"7692e1ee2446fd1940b5caa6e09779504a58881a","fixed":"fc5f845a291fc8175e6857cd6ad042818da192e8","status":"affected"},{"type":"git","introduced":"7692e1ee2446fd1940b5caa6e09779504a58881a","fixed":"37583946d8751f8e285c467d770ac0b609b82a23","status":"affected"},{"type":"git","introduced":"7692e1ee2446fd1940b5caa6e09779504a58881a","fixed":"315c22712715491f0dfafdaf2c2b437540e68702","status":"affected"},{"type":"git","introduced":"7692e1ee2446fd1940b5caa6e09779504a58881a","fixed":"723d4dc628d764b19cf9efca14b82cca5ff020c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b7c7f07a40037514f8e890aa00f8d7b196d680cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc5f845a291fc8175e6857cd6ad042818da192e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37583946d8751f8e285c467d770ac0b609b82a23","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/315c22712715491f0dfafdaf2c2b437540e68702","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/723d4dc628d764b19cf9efca14b82cca5ff020c9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98270","url":"https://www.cve.org/CVERecord?id=CVE-2026-98270","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:41.028Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98270","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98270","licence":"Public domain","modified":"2026-10-19T10:18:28.257Z"}],"updatedAt":"2026-11-25T22:59:42.310Z","epss":{"score":0.00168,"percentile":0.06367,"date":"2026-12-01T12:00:22.000Z"}}