The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-31488

CVE-2026-31488: Linux Kernel Use-After-Free Vulnerability

CVE-2026-31488 is a use-after-free flaw in the Linux kernel's AMD display driver affecting DSC validation during mode changes. This post covers the technical details, affected versions, security impact, and mitigation.

Published: April 23, 2026

CVE-2026-31488 Overview

A use-after-free vulnerability has been identified in the Linux kernel's AMD display driver (drm/amd/display) related to Display Stream Compression (DSC) validation during atomic state checks. The vulnerability occurs when the CRTC state mode_changed flag is incorrectly reset to false during DSC configuration recomputation, leading to memory corruption issues including memory leaks and use-after-free conditions.

Critical Impact

This vulnerability can result in kernel memory corruption through use-after-free conditions in the AMD display driver, potentially leading to system instability, denial of service, or privilege escalation in affected Linux systems with AMD graphics hardware.

Affected Products

  • Linux kernel with AMD display driver (drm/amd/display)
  • Systems with AMD GPUs utilizing Display Stream Compression (DSC)
  • Configurations involving MST (Multi-Stream Transport) and integrated displays

Discovery Timeline

  • April 22, 2026 - CVE-2026-31488 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31488

Vulnerability Analysis

The vulnerability was introduced by commit 17ce8a6907f7 ("drm/amd/display: Add dsc pre-validation in atomic check"), which added DSC pre-validation in the atomic check phase. The core issue lies in improper state management during Display Stream Compression validation in multi-display scenarios.

When a system experiences simultaneous changes to MST/DSC configuration and unrelated mode changes (such as enabling/disabling HDR on an integrated laptop panel while connecting external DP-MST screens), the driver incorrectly resets the mode_changed flag. This causes the driver to lose track of streams that need proper lifecycle management.

The memory corruption manifests in two ways:

  1. Memory Leak: When dm_update_crtc_state() creates new streams for CRTCs with DSC-independent mode changes but the mode_changed flag is dropped, amdgpu_dm_commit_streams() never releases the old stream reference.

  2. Use-After-Free: Subsequently, amdgpu_dm_atomic_commit_tail() fails to acquire a reference to the new stream, causing a use-after-free when the stream is disabled later, as evidenced by the KASAN error in dc_stream_release().

Root Cause

The root cause stems from the pre_validate_dsc() function unconditionally resetting the mode_changed flag to false when DSC configuration recomputation results in no timing change for a particular stream. This logic fails to account for scenarios where unrelated mode changes are pending in the same KMS (Kernel Mode Setting) commit.

The function lacks awareness of whether a CRTC has pending mode changes that are independent of DSC configuration, leading to premature flag clearing that disrupts the atomic commit state machine's ability to properly manage stream references.

Attack Vector

The vulnerability can be triggered through local access by manipulating display configurations. An attacker with the ability to modify display settings could potentially exploit this vulnerability by:

  1. Initiating a mode change on an integrated display (e.g., HDR toggle)
  2. Simultaneously connecting or reconfiguring external DP-MST displays
  3. Triggering the race condition where DSC validation incorrectly clears the mode_changed flag

The KASAN stack trace indicates the use-after-free occurs during workqueue processing (drm_mode_rmfb_work_fn), specifically when releasing DC streams during atomic state destruction.

The kernel panic trace shows the corruption path:

BUG: KASAN: use-after-free in dc_stream_release+0x25/0x90 [amdgpu]
Write of size 4 at addr ffff88813d836524 by task kworker/9:9/29977

Workqueue: events drm_mode_rmfb_work_fn
Call Trace:
dc_stream_release+0x25/0x90 [amdgpu]
dc_state_destruct+0x14d/0x5c0 [amdgpu]
dc_state_release.part.0+0x4e/0x130 [amdgpu]
dm_atomic_destroy_state+0x3f/0x70 [amdgpu]

Detection Methods for CVE-2026-31488

Indicators of Compromise

  • Kernel KASAN reports indicating use-after-free in dc_stream_release or related AMD display functions
  • System crashes or kernel panics during display configuration changes, particularly when connecting/disconnecting external monitors
  • Memory corruption warnings in kernel logs referencing the amdgpu or drm/amd/display modules
  • Unexpected display behavior or flickering when using MST hubs with multiple monitors

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) to detect memory corruption at runtime with verbose logging
  • Monitor kernel logs for stack traces involving amdgpu_dm_commit_streams, pre_validate_dsc, or dc_stream_release functions
  • Deploy kernel debugging tools to track atomic commit state transitions in the DRM subsystem
  • Use ftrace or eBPF probes to monitor the mode_changed flag state during display configuration changes

Monitoring Recommendations

  • Configure kernel log monitoring for BUG: and KASAN: prefixes related to the amdgpu driver
  • Implement automated alerting for kernel oops or panics in production environments with AMD graphics hardware
  • Monitor system stability metrics during display hotplug events on affected systems
  • Track memory usage patterns in the kernel display subsystem for anomalous growth indicative of leaks

How to Mitigate CVE-2026-31488

Immediate Actions Required

  • Apply the kernel patches from the official stable branches as soon as possible
  • Consider disabling DSC on affected systems as a temporary workaround if patches cannot be immediately applied
  • Avoid simultaneous display configuration changes and MST device hotplugging on unpatched systems
  • Monitor systems with AMD GPUs and multiple display configurations for signs of memory corruption

Patch Information

The vulnerability has been resolved in the Linux kernel stable branches. The fix involves preserving the original mode_changed flag value before DSC configuration validation and restoring it appropriately in pre_validate_dsc() rather than unconditionally clearing it.

The following kernel patches address this vulnerability:

  • Kernel Patch Update
  • Kernel Commit Changes
  • Kernel Code Improvement
  • Kernel Bug Fix

The fix was cherry-picked from commit cc7c7121ae082b7b82891baa7280f1ff2608f22b.

Workarounds

  • Disable Display Stream Compression via kernel boot parameters or driver configuration until patching is complete
  • Avoid using MST hubs with multiple external displays on laptops with integrated AMD graphics until patches are applied
  • Disconnect external MST displays before making display mode changes (such as HDR toggles) on the integrated panel
  • Consider using single-stream display configurations to reduce the attack surface
bash
# Temporary workaround: Disable DSC via kernel module parameter
# Add to /etc/modprobe.d/amdgpu.conf
options amdgpu dc=1 dsc=0

# Verify current DSC status
cat /sys/module/amdgpu/parameters/dsc

# Apply kernel update on Debian/Ubuntu systems
sudo apt update && sudo apt upgrade linux-image-generic

# Apply kernel update on RHEL/Fedora systems
sudo dnf update kernel

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Patch Update

  • Kernel Commit Changes

  • Kernel Code Improvement

  • Kernel Bug Fix
  • Related CVEs
  • CVE-2026-31745: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43048: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43049: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43056: Linux Kernel Use-After-Free Vulnerability
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