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-2023-39198

CVE-2023-39198: Linux Kernel Race Condition Vulnerability

CVE-2023-39198 is a race condition flaw in the Linux Kernel's QXL driver that can lead to use-after-free, enabling denial of service or privilege escalation. This article covers technical details, affected versions, and mitigations.

Published: February 11, 2026

CVE-2023-39198 Overview

A race condition vulnerability was discovered in the QXL driver within the Linux kernel. The vulnerability exists in the qxl_mode_dumb_create() function, which dereferences the qobj returned by qxl_gem_object_create_with_handle(). However, the handle is the only reference holding the object. This design flaw allows an attacker to guess the returned handle value and trigger a use-after-free condition, potentially leading to a denial of service or privilege escalation on affected systems.

Critical Impact

This vulnerability enables local attackers with high privileges to potentially achieve privilege escalation or cause system denial of service through a use-after-free condition in the Linux kernel's QXL graphics driver.

Affected Products

  • Linux Kernel (versions up to 6.5-rc6)
  • Fedora 38
  • Red Hat Enterprise Linux 8.0 and 9.0

Discovery Timeline

  • November 9, 2023 - CVE-2023-39198 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-39198

Vulnerability Analysis

The vulnerability is classified as CWE-416 (Use After Free), a memory corruption vulnerability that occurs when a program continues to use a pointer after the memory it references has been freed. In this case, the race condition creates a window where the object reference can be released before the qxl_mode_dumb_create() function finishes using it.

The QXL driver is a paravirtualized graphics driver used primarily in virtualized environments with SPICE (Simple Protocol for Independent Computing Environments). The driver facilitates efficient graphics rendering for virtual machines, making this vulnerability particularly relevant for virtualized infrastructure deployments.

Root Cause

The root cause lies in improper reference counting within the QXL GEM (Graphics Execution Manager) object lifecycle. When qxl_gem_object_create_with_handle() creates a new GEM object and returns it, only the handle maintains a reference to the object. The qxl_mode_dumb_create() function then attempts to dereference the returned qobj without acquiring an additional reference. This creates a timing window where a concurrent operation could release the handle's reference, causing the object to be freed while still in use.

Attack Vector

The attack requires local access to the system with elevated privileges. An attacker must be able to interact with the QXL driver through the DRM (Direct Rendering Manager) subsystem. The exploitation involves:

  1. Triggering the qxl_mode_dumb_create() function through the DRM ioctl interface
  2. Racing to release or manipulate the handle reference before the function completes
  3. Causing the freed memory to be accessed, potentially corrupting kernel memory or hijacking execution flow

Due to the local attack vector and high privilege requirements, exploitation requires an attacker to already have significant access to the target system. The vulnerability primarily affects systems using QXL virtual graphics, such as QEMU/KVM virtual machines with SPICE display.

Detection Methods for CVE-2023-39198

Indicators of Compromise

  • Unexpected kernel crashes or panics related to the QXL or DRM subsystem
  • Kernel log entries showing memory corruption or use-after-free warnings from KASAN (Kernel Address Sanitizer) if enabled
  • Unusual activity involving DRM ioctl calls to the QXL driver
  • System instability in virtualized environments using SPICE display

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) on development and testing systems to detect use-after-free conditions
  • Monitor for kernel oops or panic messages containing references to qxl_mode_dumb_create or related QXL driver functions
  • Implement system call auditing for DRM ioctl operations on systems using QXL graphics
  • Deploy endpoint detection solutions capable of monitoring kernel-level memory corruption attempts

Monitoring Recommendations

  • Configure kernel logging to capture DRM subsystem events with increased verbosity
  • Set up automated alerts for kernel crash dumps that reference QXL driver components
  • Monitor virtualization infrastructure for unexpected guest VM crashes or resets
  • Track security advisories from Red Hat, Fedora, and Debian for patch availability

How to Mitigate CVE-2023-39198

Immediate Actions Required

  • Apply kernel security updates from your Linux distribution as soon as they become available
  • Consider disabling QXL driver usage if not required by switching to an alternative virtual graphics driver (e.g., virtio-gpu)
  • Restrict local system access to trusted users only, as exploitation requires local privileges
  • Enable kernel security features like KASAN in development environments to detect exploitation attempts

Patch Information

Security patches have been released by major Linux distributions. Key advisories include:

  • Red Hat Security Advisory RHSA-2024:2394
  • Red Hat Security Advisory RHSA-2024:2950
  • Red Hat Security Advisory RHSA-2024:3138
  • Debian LTS Security Announcement

For detailed vulnerability tracking and additional context, refer to the Red Hat Bugzilla Report #2218332 and the Red Hat CVE Report.

Workarounds

  • Disable the QXL kernel module if not in use: modprobe -r qxl and blacklist it in /etc/modprobe.d/
  • For virtual machines, switch from QXL to virtio-gpu or other display drivers when possible
  • Limit user access to DRM device nodes by restricting permissions on /dev/dri/* devices
  • Deploy mandatory access control policies (SELinux/AppArmor) to restrict access to graphics subsystem interfaces
bash
# Disable QXL driver (temporary)
sudo modprobe -r qxl

# Blacklist QXL driver (persistent)
echo "blacklist qxl" | sudo tee /etc/modprobe.d/blacklist-qxl.conf
sudo update-initramfs -u

# Verify QXL is not loaded
lsmod | grep qxl

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Red Hat Security Advisory RHSA-2024:2394

  • Red Hat Security Advisory RHSA-2024:2950

  • Red Hat Security Advisory RHSA-2024:3138

  • Red Hat CVE Report CVE-2023-39198

  • Debian LTS Announcement
  • Vendor Resources
  • Red Hat Bugzilla Report #2218332
  • Related CVEs
  • CVE-2026-31456: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31466: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31455: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31436: Linux Kernel Race Condition 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