CVE-2024-57798

7.8 HIGH

📋 TL;DR

This is a use-after-free vulnerability in the Linux kernel's DisplayPort Multi-Stream Transport (DP-MST) subsystem. It allows a local attacker to cause a kernel crash (denial of service) or potentially execute arbitrary code with kernel privileges. Affects Linux systems with DP-MST enabled graphics hardware.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions with vulnerable kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Requires DP-MST capable hardware and the drm/dp_mst subsystem to be active. Most desktop/workstation systems with modern graphics cards are potentially affected.

📦 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 →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic leading to system crash, or potential privilege escalation to kernel-level code execution.

🟠

Likely Case

Kernel crash causing system instability or denial of service requiring reboot.

🟢

If Mitigated

Limited to denial of service if kernel hardening features prevent code execution.

🌐 Internet-Facing: LOW - Requires local access to the system.
🏢 Internal Only: MEDIUM - Local attackers or malicious users could exploit this to crash systems or potentially escalate privileges.

🎯 Exploit Status

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

Requires local access and knowledge of DP-MST subsystem. Race condition makes exploitation timing-sensitive.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commits 9735d40f5fde9970aa46e828ecc85c32571d58a2 or later

Vendor Advisory: https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution's repositories. 2. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable DP-MST functionality

Linux

Disable DisplayPort Multi-Stream Transport support in kernel or graphics driver

echo 'blacklist drm_kms_helper' > /etc/modprobe.d/disable-drm.conf
update-initramfs -u
reboot

🧯 If You Can't Patch

  • Restrict local user access to systems with DP-MST hardware
  • Implement kernel hardening features like KASLR, SMEP, SMAP to reduce impact

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if DP-MST modules are loaded: 'uname -r' and 'lsmod | grep drm'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is updated and check for presence of fix commits in kernel source

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages in /var/log/kern.log or dmesg
  • System crashes/reboots

Network Indicators:

  • None - local vulnerability

SIEM Query:

source="kernel" AND ("Oops" OR "general protection fault" OR "use-after-free") AND "drm_dp_mst"

🔗 References

📤 Share & Export