NULL Pointer Dereference Vulnerability in Linux Kernel Affects AMD RAS
CVE-2026-53315
What is CVE-2026-53315?
A vulnerability in the Linux kernel allows for a potential NULL pointer dereference in the AMD RAS module. Specifically, the function ras_core_get_utc_second_timestamp() checks the validity of the ras_core before executing a callback to retrieve the current UTC timestamp. If the ras_core pointer is NULL, an attempt to access ras_core->dev results in an unsafe dereference. By implementing an early NULL check for ras_core, the function can safely return 0 when the pointer is invalid, thus enhancing the robustness of the control flow and preventing possible system crashes.
Affected Version(s)
Linux 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb < 6c84f7f0afc415691ffa7d48aa7ce1d8e6083032
Linux 13c91b5b4378b5d08dc9ae9121b1645a0beec0bb < 2b8101cc3b34d4d80d799360d2744829d5964479
Linux 6.19