CVE-2026-53316: drm/amd/ras: Fix NULL deref in ras_core_ras_interrupt_detected()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/ras: Fix NULL deref in ras_core_ras_interrupt_detected()
Fixes a NULL pointer dereference when ras_core is NULL and ras_core->dev is accessed in the error path.
Reported by: Dan Carpenter <[email protected]>
The Linux kernel CVE team has assigned CVE-2026-53316 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb and fixed in 7.0.10 with commit f2f2ed3d359509c311cc6626226e4578d7eb77d8 Issue introduced in 6.19 with commit 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb and fixed in 7.1 with commit 6b606216e03fa2b53cc179d8383b683a140fe6e1
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53316
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/ras/rascore/ras_core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f2f2ed3d359509c311cc6626226e4578d7eb77d8 https://git.kernel.org/stable/c/6b606216e03fa2b53cc179d8383b683a140fe6e1