{"id":"CVE-2026-98270","state":"PUBLISHED","title":"drm/amdgpu: check ras and obj before dereference","description":"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)","publishedAt":"2026-10-06T08:45:32.506Z","updatedAt":"2026-10-19T09:16:41.028Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"b7c7f07a40037514f8e890aa00f8d7b196d680cf","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"fc5f845a291fc8175e6857cd6ad042818da192e8","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"37583946d8751f8e285c467d770ac0b609b82a23","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"315c22712715491f0dfafdaf2c2b437540e68702","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"723d4dc628d764b19cf9efca14b82cca5ff020c9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98270.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98270","state":"PUBLISHED","datePublished":"2026-10-06T08:45:32.506Z","dateUpdated":"2026-10-19T09:16:41.028Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.333Z"},"containers":{"cna":{"title":"drm/amdgpu: check ras and obj before dereference","descriptions":[{"lang":"en","value":"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)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"b7c7f07a40037514f8e890aa00f8d7b196d680cf","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"fc5f845a291fc8175e6857cd6ad042818da192e8","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"37583946d8751f8e285c467d770ac0b609b82a23","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"315c22712715491f0dfafdaf2c2b437540e68702","versionType":"git"},{"version":"7692e1ee2446fd1940b5caa6e09779504a58881a","status":"affected","lessThan":"723d4dc628d764b19cf9efca14b82cca5ff020c9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b7c7f07a40037514f8e890aa00f8d7b196d680cf"},{"url":"https://git.kernel.org/stable/c/fc5f845a291fc8175e6857cd6ad042818da192e8"},{"url":"https://git.kernel.org/stable/c/37583946d8751f8e285c467d770ac0b609b82a23"},{"url":"https://git.kernel.org/stable/c/315c22712715491f0dfafdaf2c2b437540e68702"},{"url":"https://git.kernel.org/stable/c/723d4dc628d764b19cf9efca14b82cca5ff020c9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:16:41.028Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}