drm/amdgpu/ras: add ras_suspend callback and use it for cp_ecc_error_irq
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/ras: add ras_suspend callback and use it for cp_ecc_error_irq cp_ecc_error_irq is acquired in amdgpu_gfx_ras_late_init() but released in gfx_v9_0_hw_fini(), so the put site has to query amdgpu_irq_enabled() because the get is skipped on SR-IOV VF. ras_late_init / ras_fini have no suspend counterpart, so move the put to amdgpu_gfx_ras_suspend() / amdgpu_gfx_ras_fini() and add a matching ras_suspend callback that is invoked from amdgpu_ras_suspend() before disable_all_features(). The get and put now sit in the same place and check the same condition (not VF, funcs registered), no refcount querying needed. An active flag gates ras_fini so the suspend-then-unload-without-resume path falls into amdgpu_ras_block_late_fini_default() instead of double-releasing what ras_suspend already cleaned up. Drop the cp_ecc_error_irq put from gfx_v9_0_hw_fini(). gfx_v8_0 manages cp_ecc_error_irq locally and is unaffected; no other GFX generation has this IRQ.
CVE-2026-97424
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-97424
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": "760a1d55344d823287850466db893ed77e948803",
"lessThan": "c1f2f34d681a0b354e1218b83245d1f2d2139a8d",
"versionType": "git"
},
{
"status": "affected",
"version": "760a1d55344d823287850466db893ed77e948803",
"lessThan": "5b761927dbb170df4716d9c0ef85e178a1856e64",
"versionType": "git"
},
{
"status": "affected",
"version": "760a1d55344d823287850466db893ed77e948803",
"lessThan": "001824103f2fe6ffd2380afddf81f43b446035b2",
"versionType": "git"
},
{
"status": "affected",
"version": "760a1d55344d823287850466db893ed77e948803",
"lessThan": "e3829992dd9fa0a82511af4f01733fc854cd15a5",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h",
"drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c",
"drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h",
"drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97424
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48755 · Revision 1
- Added to Heist Feed
- Publisher date