CVE-2026-98270

drm/amdgpu: check ras and obj before dereference

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7692e1ee2446fd1940b5caa6e09779504a58881a to before b7c7f07a40037514f8e890aa00f8d7b196d680cfAffected
  • 7692e1ee2446fd1940b5caa6e09779504a58881a to before fc5f845a291fc8175e6857cd6ad042818da192e8Affected
  • 7692e1ee2446fd1940b5caa6e09779504a58881a to before 37583946d8751f8e285c467d770ac0b609b82a23Affected
  • 7692e1ee2446fd1940b5caa6e09779504a58881a to before 315c22712715491f0dfafdaf2c2b437540e68702Affected
  • 7692e1ee2446fd1940b5caa6e09779504a58881a to before 723d4dc628d764b19cf9efca14b82cca5ff020c9Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.