Wiz Agents & Workflows are here

CVE-2024-57798
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57798 is a vulnerability discovered in the Linux kernel affecting the DisplayPort Multi-Stream Transport (MST) functionality. The issue was identified in January 2025 and involves a potential NULL pointer dereference and use-after-free condition in the drm_dp_mst_handle_up_req() function. The vulnerability affects multiple versions of the Linux kernel, including versions up to 6.1.123, versions from 6.2 up to 6.6.69, and versions from 6.7 up to 6.12.8 (NVD).

Technical details

The vulnerability occurs in the Linux kernel's DisplayPort MST handling code. While receiving an MST up request message from one thread in drm_dp_mst_handle_up_req(), the MST topology could be removed from another thread via drm_dp_mst_topology_mgr_set_mst(false), which frees mst_primary and sets drm_dp_mst_topology_mgr::mst_primary to NULL. This race condition could lead to a NULL dereference or use-after-free of mst_primary in drm_dp_mst_handle_up_req(). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially lead to local privilege escalation on affected systems. The high CVSS score indicates that successful exploitation could result in significant impacts to system confidentiality, integrity, and availability when exploited by an attacker with local access to the system (Ubuntu).

Mitigation and workarounds

A fix has been developed that involves holding a reference for mst_primary in drm_dp_mst_handle_up_req() while it's used. The patch ensures the mst_primary pointer remains valid throughout its usage by implementing proper reference counting. The fix has been incorporated into various Linux kernel versions and is being distributed through distribution-specific updates (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management