CVE-2026-53315: Linux Kernel AMD RAS NULL Pointer Dereference
A coding flaw in the Linux kernel's AMD Radeon driver can cause the system to crash if a function called ras_core_get_utc_second_timestamp() is invoked with an invalid or missing input. This function is responsible for recording timestamps when hardware reliability errors occur. The code checks whether the input is valid before using it, but then tries to log an error message using that same potentially invalid input, creating a window for a NULL pointer crash. The fix adds an upfront validation step to catch the problem earlier and exit gracefully.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-476
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-26 / 2026-07-06
NVD description (verbatim)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp() ras_core_get_utc_second_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 ras_core in the conditional statement before calling the sys_fn callback. However, when the condition fails, the function prints an error message using ras_core->dev. If ras_core is NULL, this can lead to a potential NULL pointer dereference when accessing ras_core->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.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-53315 addresses a NULL pointer dereference vulnerability in the Linux kernel's drm/amd/ras driver module. The function ras_core_get_utc_second_timestamp() retrieves UTC timestamps via a platform-specific RAS (Reliability, Availability, Serviceability) callback. While the function conditionally checks ras_core before invoking sys_fn, the error path that executes when the condition fails attempts to dereference ras_core->dev without validating ras_core itself. This creates a use-after-check scenario where a NULL ras_core pointer can lead to an immediate kernel panic. The mitigation involves inserting an early NULL check and returning zero on failure, ensuring ras_core is validated before any member access.
Business impact
This vulnerability impacts system stability on Linux systems running affected kernel versions with AMD RAS driver support enabled. Although the flaw is local-only and requires existing system access to trigger, a denial-of-service condition affecting critical infrastructure relying on reliable kernel uptime poses operational risk. Systems actively monitoring hardware errors or deployed in high-availability environments where unexpected kernel panics incur service loss should treat this with higher urgency. The impact is limited to crash scenarios; no privilege escalation, data corruption, or remote attack vector exists.
Affected systems
The Linux kernel is the sole affected product. Specific kernel versions are not enumerated in the advisory; verify against the official Linux kernel security bulletins and your vendor's release notes to identify which versions in your environment contain this defect. Systems running AMD GPU drivers (particularly those with RAS monitoring enabled) are most likely to exercise this code path.
Exploitability
This vulnerability requires local system access and cannot be exploited remotely. It is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. A local, unprivileged user can likely trigger the crash through RAS error monitoring interfaces if they have read/write access to relevant sysfs or device interfaces. The attack surface is limited to administrative or monitoring tools that invoke RAS timestamp functions.
Remediation
Apply a Linux kernel update that includes the fix for CVE-2026-53315. The remediation adds an explicit NULL pointer check at the function entry point, eliminating the problematic dereference. Verify against the official Linux kernel advisory and your distribution's security updates for specific patch versions. For systems unable to update immediately, limit local user access to RAS monitoring interfaces if feasible, though this may reduce observability of hardware errors.
Patch guidance
Patches are available through official Linux kernel distribution channels. Check your kernel maintainer's security advisory for the fixed kernel version specific to your branch (mainline, stable, or long-term support). Most major Linux distributions will backport this fix to their maintained kernel versions. Apply the update during a maintenance window, as kernel updates typically require a reboot. Verify the patched kernel includes the change to add an early return-zero path in ras_core_get_utc_second_timestamp().
Detection guidance
Monitor kernel logs for NULL pointer dereference panics involving the ras_core or drm/amd/ras modules. Watchdog or core dump analysis may show a crash originating from ras_core_get_utc_second_timestamp(). If your environment captures kernel oops or panic events, search for function names and module references matching the RAS driver. Additionally, review system uptime metrics for unexpected reboots on AMD GPU–equipped nodes, which may indicate this crash occurring and auto-recovery.
Why prioritize this
Assign medium priority. CVSS 5.5 reflects local-only access requirement and denial-of-service impact. While not a critical vulnerability, unplanned system crashes in production environments degrade availability and should not be ignored. Prioritize systems in high-availability clusters, hardware monitoring appliances, and environments where kernel stability is a compliance or operational requirement. Non-critical development and testing systems can be addressed in routine maintenance cycles.
Risk score, explained
The CVSS 3.1 score of 5.5 (Medium severity) is driven by: Attack Vector = Local (AV:L, eliminating remote exploitation), Attack Complexity = Low (AC:L, no special conditions needed), Privileges Required = Low (PR:L, standard user access sufficient), User Interaction = None (UI:N), and Impact = High Availability loss (A:H) but no Confidentiality or Integrity impact (C:N, I:N). The score accurately reflects that this is a stability threat with local scope, not a privilege escalation or data breach vector.
Frequently asked questions
Can this vulnerability be exploited remotely?
No. This is a local-only vulnerability requiring existing access to the affected system. Remote exploitation is not possible.
Do I need to update immediately if my system does not have AMD GPU drivers loaded?
Unlikely, unless you are running a monolithic kernel build or have RAS monitoring services enabled. However, you should verify against your distribution's advisory to confirm whether your specific kernel version is affected and your configuration exposes the code path.
What does NULL pointer dereference mean, and why does it cause a crash?
A NULL pointer is a memory address that has not been initialized or is intentionally invalid. Dereferencing it (accessing data at that address) causes the kernel to raise an exception, typically resulting in an immediate panic and reboot. In this case, the code tried to access a member of a structure (ras_core->dev) without first confirming the structure itself was valid.
Is there a workaround if I cannot patch my kernel immediately?
The primary workaround is to restrict local user access to RAS monitoring interfaces and sysfs nodes that invoke this function. However, this reduces visibility into hardware errors. The best approach is to schedule a kernel update as soon as practical during a maintenance window.
This analysis is based on the CVE-2026-53315 advisory as of the published date. Specific affected kernel versions, patch version numbers, and availability timelines must be verified against the official Linux kernel security bulletin and your distribution's security updates. SEC.co does not provide exploit code or weaponized proof-of-concepts. This document is for informational purposes and does not constitute legal or compliance advice. Organizations should validate all information against authoritative vendor sources before making deployment decisions. Source: NVD (public-domain), retrieved 2026-08-05. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-71313MEDIUMLinux Kernel PCI Endpoint NULL Pointer Dereference
- CVE-2026-46118MEDIUMLinux Kernel PAPR Hypervisor Pipe Null Pointer Dereference (POWER Systems)
- CVE-2026-46127MEDIUMLinux Kernel OCRDMA Null Pointer Dereference (DoS)
- CVE-2026-46134MEDIUMLinux Kernel cros_ec Mutex Initialization DoS Vulnerability
- CVE-2026-46188MEDIUMLinux Octeon EP VF NULL Pointer Dereference Denial of Service
- CVE-2026-46211MEDIUMLinux Kernel MSM DRM NULL Pointer and Silent Error in gem_info_get_metadata
- CVE-2026-46216MEDIUMLinux Intel Arc GPU NULL Pointer Dereference (HDCP)
- CVE-2026-46222MEDIUMLinux Rockchip RKCam Driver Null Pointer Dereference