CVE-2026-53315

Source
https://cve.org/CVERecord?id=CVE-2026-53315
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53315.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53315
Downstream
Published
2026-06-26T19:41:08.184Z
Modified
2026-07-15T01:49:09.580756181Z
Summary
drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/ras: Fix NULL deref in rascoregetutcsecond_timestamp()

rascoregetutcsecond_timestamp() retrieves the current UTC timestamp (in seconds since the Unix epoch) through a platform-specific RAS system callback and is used for timestamping RAS error events.

The function checks rascore in the conditional statement before calling the sysfn callback. However, when the condition fails, the function prints an error message using ras_core->dev.

If rascore is NULL, this can lead to a potential NULL pointer dereference when accessing rascore->dev.

Add an early NULL check for ras_core at the beginning of the function and return 0 when the pointer is not valid. This prevents the dereference and makes the control flow clearer.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53315.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
13c91b5b4378b5d08dc9ae9121b1645a0beec0bb
Fixed
6c84f7f0afc415691ffa7d48aa7ce1d8e6083032
Fixed
2b8101cc3b34d4d80d799360d2744829d5964479

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53315.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53315.json"