Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-38664

CVE-2024-38664: Linux Kernel Privilege Escalation Flaw

CVE-2024-38664 is a privilege escalation vulnerability in the Linux Kernel's zynqmp_dpsub DRM driver that can lead to lockdep warnings and system instability. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-38664 Overview

A race condition vulnerability has been discovered in the Linux kernel's zynqmp_dpsub driver within the Direct Rendering Manager (DRM) subsystem. The vulnerability stems from improper mutex initialization timing in the DRM bridge registration process, where zynqmp_dp_hpd_work_func calls drm_bridge_hpd_notify, which expects hpd_mutex to be initialized before use. This creates a dangerous situation where the mutex lock operation occurs on an uninitialized lock structure.

Critical Impact

Local attackers with low privileges can potentially exploit this race condition to cause system instability, kernel lockdep warnings, and potentially achieve privilege escalation or denial of service on affected Xilinx Zynq UltraScale+ MPSoC systems running vulnerable Linux kernel versions.

Affected Products

  • Linux Kernel versions prior to the security fix (commit 61ba791c4a7a)
  • Linux Kernel 6.10-rc1 (specifically affected)
  • Systems using Xilinx Zynq UltraScale+ MPSoC with DisplayPort subsystem

Discovery Timeline

  • 2024-06-24 - CVE CVE-2024-38664 published to NVD
  • 2025-05-30 - Last updated in NVD database

Technical Details for CVE-2024-38664

Vulnerability Analysis

This vulnerability is classified under CWE-667 (Improper Locking), representing a race condition that occurs during kernel subsystem initialization. The issue manifests in the DRM bridge registration flow of the zynqmp_dpsub driver, which handles display output on Xilinx Zynq UltraScale+ MPSoC platforms.

The core problem lies in the sequence of operations during driver initialization. The zynqmp_dp_hpd_work_func function, which handles hot-plug detection events, calls drm_bridge_hpd_notify. This notification function requires the hpd_mutex to be properly initialized before any lock acquisition attempt. However, the original code flow did not ensure bridge registration (and consequently mutex initialization) occurred before the HPD work function could be scheduled and executed.

When the mutex is accessed before proper initialization, the kernel's lockdep debugging infrastructure detects this invalid state and generates a DEBUG_LOCKS_WARN_ON(lock->magic != lock) warning at kernel/locking/mutex.c:582. This indicates that the lock structure's magic number does not match the expected value, confirming the lock was never initialized properly.

Root Cause

The root cause is an incorrect initialization order in the zynqmp_dpsub driver. The DRM bridge must be registered (which initializes the hpd_mutex) before zynqmp_dpsub_drm_init is called, as that function invokes drm_bridge_attach. Without this ordering guarantee, there exists a window where the HPD work queue event (zynqmp_dp_hpd_work_func) can execute and attempt to acquire the uninitialized mutex.

The fix ensures the DRM bridge is always registered before any code paths that might call drm_bridge_hpd_notify, guaranteeing the mutex is properly initialized when the lock acquisition occurs.

Attack Vector

This vulnerability requires local access to the system with low privileges. An attacker would need to trigger a hot-plug detection event on the DisplayPort subsystem during the vulnerable window of the driver initialization phase. While the attack complexity is local in nature, successful exploitation could lead to:

  • Kernel panic or system crash due to corrupted lock state
  • Potential privilege escalation if the race condition can be reliably triggered
  • Denial of service through repeated triggering of the vulnerability
  • Memory corruption in kernel space affecting system integrity and confidentiality

The workqueue subsystem (events workqueue running zynqmp_dp_hpd_work_func) processes these hot-plug events asynchronously, which creates the timing window necessary for exploitation.

Detection Methods for CVE-2024-38664

Indicators of Compromise

  • Kernel log messages containing DEBUG_LOCKS_WARN_ON(lock->magic != lock) warnings
  • Stack traces showing __mutex_lock failures originating from drm_bridge_hpd_notify
  • Workqueue errors referencing zynqmp_dp_hpd_work_func in the call trace
  • Lockdep warnings specifically at kernel/locking/mutex.c:582

Detection Strategies

  • Monitor kernel logs (dmesg or /var/log/kern.log) for mutex lock warnings related to DRM subsystem
  • Implement kernel log analysis rules to detect DEBUG_LOCKS_WARN_ON patterns with drm_bridge references
  • Enable CONFIG_DEBUG_MUTEXES and CONFIG_LOCKDEP in kernel configuration for enhanced detection
  • Use SentinelOne's kernel-level telemetry to identify abnormal mutex operations in display drivers

Monitoring Recommendations

  • Configure centralized logging to aggregate kernel messages from all affected Xilinx Zynq UltraScale+ systems
  • Set up alerts for workqueue failures involving the zynqmp_dpsub or zynqmp_dp driver components
  • Monitor for unexpected display subsystem resets or hotplug events during system initialization
  • Deploy endpoint detection solutions capable of analyzing kernel-level events and race conditions

How to Mitigate CVE-2024-38664

Immediate Actions Required

  • Update to a patched Linux kernel version containing the security fix
  • If immediate patching is not possible, avoid triggering DisplayPort hot-plug events during system boot
  • Review kernel configuration to ensure CONFIG_DRM_ZYNQMP_DPSUB is disabled if DisplayPort functionality is not required
  • Monitor affected systems for signs of exploitation until patches can be applied

Patch Information

The vulnerability has been resolved through patches committed to the Linux kernel stable branches. The fix ensures the DRM bridge is always registered before zynqmp_dpsub_drm_init is called, properly initializing the hpd_mutex before any potential use.

Official patches are available from the following kernel git commits:

  • Kernel Git Commit 6036613
  • Kernel Git Commit 6ead3ec
  • Kernel Git Commit be3f304

The fix was cherry-picked from commit 61ba791c4a7a09a370c45b70a81b8c7d4cf6b2ae.

Workarounds

  • Disable the zynqmp_dpsub driver by adding drm_zynqmp_dpsub.disable=1 to kernel boot parameters if DisplayPort is not required
  • Blacklist the zynqmp_dpsub module by adding blacklist zynqmp_dpsub to /etc/modprobe.d/blacklist.conf
  • Ensure DisplayPort cables are not connected during boot sequence to avoid triggering HPD events during the vulnerable initialization window
  • Consider using alternative display output methods if available on the hardware platform
bash
# Disable zynqmp_dpsub module loading (temporary workaround)
echo "blacklist zynqmp_dpsub" >> /etc/modprobe.d/blacklist-zynqmp.conf
update-initramfs -u

# Verify the module is not loaded
lsmod | grep zynqmp_dpsub

# To apply kernel update on Debian/Ubuntu-based systems
apt update && apt upgrade linux-image-$(uname -r)

# To apply kernel update on RHEL/CentOS-based systems
yum update kernel

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-667
  • Vendor Resources
  • Kernel Git Commit 6036613

  • Kernel Git Commit 6ead3ec

  • Kernel Git Commit be3f304
  • Related CVEs
  • CVE-2026-31430: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31443: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31463: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-31459: Linux Kernel Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English