CVE-2026-53315
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/06/2026
Last modified:
30/06/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()<br />
<br />
ras_core_get_utc_second_timestamp() retrieves the current UTC timestamp<br />
(in seconds since the Unix epoch) through a platform-specific RAS system<br />
callback and is used for timestamping RAS error events.<br />
<br />
The function checks ras_core in the conditional statement before calling<br />
the sys_fn callback. However, when the condition fails, the function<br />
prints an error message using ras_core->dev.<br />
<br />
If ras_core is NULL, this can lead to a potential NULL pointer<br />
dereference when accessing ras_core->dev.<br />
<br />
Add an early NULL check for ras_core at the beginning of the function<br />
and return 0 when the pointer is not valid. This prevents the<br />
dereference and makes the control flow clearer.



