# CVE-2026-97424: drm/amdgpu/ras: add ras_suspend callback and use it for cp_ecc_error_irq

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:03:37.028Z
- Modified: 2026-10-21T13:21:09.637Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 760a1d55344d823287850466db893ed77e948803 before c1f2f34d681a0b354e1218b83245d1f2d2139a8d; from 760a1d55344d823287850466db893ed77e948803 before 5b761927dbb170df4716d9c0ef85e178a1856e64; from 760a1d55344d823287850466db893ed77e948803 before 001824103f2fe6ffd2380afddf81f43b446035b2; from 760a1d55344d823287850466db893ed77e948803 before e3829992dd9fa0a82511af4f01733fc854cd15a5; 5.2 (not affected: before 5.2; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/c1f2f34d681a0b354e1218b83245d1f2d2139a8d>
- <https://git.kernel.org/stable/c/5b761927dbb170df4716d9c0ef85e178a1856e64>
- <https://git.kernel.org/stable/c/001824103f2fe6ffd2380afddf81f43b446035b2>
- <https://git.kernel.org/stable/c/e3829992dd9fa0a82511af4f01733fc854cd15a5>

## Sources

- CVE List: [CVE-2026-97424](https://www.cve.org/CVERecord?id=CVE-2026-97424), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-97424](https://nvd.nist.gov/vuln/detail/CVE-2026-97424), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-97424 · Whole record: https://cve.day/CVE-2026-97424.json · Rebuilt by cve.day 2026-11-25T22:59:40.849Z
