CVE-2025-38515

4.7 MEDIUM

📋 TL;DR

A race condition in the Linux kernel's DRM scheduler can cause job scheduling to stop, leading to system hangs when waiting on DMA fences. This affects systems using the Direct Rendering Manager (DRM) subsystem with vulnerable kernel versions, particularly those using the Xe driver. The vulnerability requires local access to trigger.

💻 Affected Systems

Products:
  • Linux kernel with DRM scheduler subsystem
Versions: Kernel versions containing the vulnerable code up to the fix commit
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Specifically affects systems using DRM drivers that utilize the scheduler, particularly the Xe driver as mentioned in the report. Requires DRM subsystem to be enabled and in use.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

System becomes unresponsive or hangs completely, requiring hard reboot and potentially causing data loss or service disruption.

🟠

Likely Case

Local denial of service affecting graphical applications or GPU-accelerated workloads, causing application crashes or system instability.

🟢

If Mitigated

Minimal impact with proper access controls limiting local user privileges and kernel hardening measures.

🌐 Internet-Facing: LOW - Requires local access to trigger, not directly exploitable over network.
🏢 Internal Only: MEDIUM - Local users or processes could cause denial of service affecting system stability.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires triggering a specific race condition timing, which may be difficult to reliably achieve. Requires local access to the system.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commit 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0 or later

Vendor Advisory: https://git.kernel.org/stable/c/549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0

Restart Required: Yes

Instructions:

1. Update to a kernel version containing the fix commit. 2. Check with your distribution for backported patches. 3. Reboot the system to load the new kernel.

🔧 Temporary Workarounds

Disable affected DRM drivers

Linux

If not using GPU acceleration or specific DRM drivers, they can be disabled via kernel parameters

Add 'modprobe.blacklist=drm' or specific driver blacklist to kernel boot parameters

🧯 If You Can't Patch

  • Restrict local user access and implement least privilege principles
  • Monitor system stability and implement automated recovery for hangs

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if DRM scheduler is active: 'uname -r' and 'lsmod | grep drm'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commit or is newer than vulnerable versions

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages related to DRM
  • System hang events in logs
  • GPU driver timeout messages

Network Indicators:

  • None - local vulnerability only

SIEM Query:

Search for: 'kernel.*drm.*scheduler.*hang' OR 'kernel.*oops.*drm'

🔗 References

📤 Share & Export