drm/amdgpu: check ras and obj before dereference
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)
CVE-2026-98270
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98270
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7692e1ee2446fd1940b5caa6e09779504a58881a",
"lessThan": "b7c7f07a40037514f8e890aa00f8d7b196d680cf",
"versionType": "git"
},
{
"status": "affected",
"version": "7692e1ee2446fd1940b5caa6e09779504a58881a",
"lessThan": "fc5f845a291fc8175e6857cd6ad042818da192e8",
"versionType": "git"
},
{
"status": "affected",
"version": "7692e1ee2446fd1940b5caa6e09779504a58881a",
"lessThan": "37583946d8751f8e285c467d770ac0b609b82a23",
"versionType": "git"
},
{
"status": "affected",
"version": "7692e1ee2446fd1940b5caa6e09779504a58881a",
"lessThan": "315c22712715491f0dfafdaf2c2b437540e68702",
"versionType": "git"
},
{
"status": "affected",
"version": "7692e1ee2446fd1940b5caa6e09779504a58881a",
"lessThan": "723d4dc628d764b19cf9efca14b82cca5ff020c9",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98270
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38350 · Revision 1
- Added to Heist Feed
- Publisher date