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-42228

CVE-2024-42228: Linux Kernel Uninitialized Value Flaw

CVE-2024-42228 is an uninitialized value vulnerability in the Linux Kernel's AMDGPU DRM driver that affects the amdgpu_vce_cs_reloc function. This article covers technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-42228 Overview

CVE-2024-42228 is an uninitialized memory use vulnerability in the Linux kernel's AMD GPU (amdgpu) driver, specifically affecting the Video Compression Engine (VCE) command submission path. The vulnerability occurs when the amdgpu_vce_cs_reloc function is called with an uninitialized *size value in certain code paths, such as case 0x03000001. This uninitialized memory use vulnerability (CWE-908) can potentially lead to information disclosure, privilege escalation, or system instability depending on the memory contents.

Critical Impact

Local attackers with low privileges can potentially exploit uninitialized memory in the amdgpu VCE driver to achieve high impact on confidentiality, integrity, and availability of affected Linux systems with AMD GPUs.

Affected Products

  • Linux Kernel (multiple versions with amdgpu driver)
  • Systems with AMD GPUs utilizing the VCE subsystem
  • Debian-based distributions (see LTS announcements)

Discovery Timeline

  • 2024-07-30 - CVE CVE-2024-42228 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2024-42228

Vulnerability Analysis

This vulnerability resides in the amdgpu driver's Video Compression Engine (VCE) command submission handling code. The core issue is that the size variable is not properly initialized before being passed to the amdgpu_vce_cs_reloc function in specific execution paths. When the function processes certain command types (such as case 0x03000001), it may read from this uninitialized memory location, leading to undefined behavior.

The attack requires local access to the system and low privileges, though exploitation complexity is high due to the need to control or predict the uninitialized memory contents. Successful exploitation could allow an attacker to leak sensitive kernel memory information, corrupt kernel data structures, or cause system crashes.

The fix involves initializing the size variable before it is used. As noted in the V2 revision of the patch, the handling was improved by using a separate sentinel value of 0xffffffff to properly track the initialization state.

Root Cause

The root cause is a missing initialization of the size variable in the amdgpu_vce_cs_reloc code path. When certain VCE command submission cases are processed, the function expects a valid size value but receives an uninitialized pointer instead. This is a classic CWE-908 (Use of Uninitialized Resource) vulnerability where the programmer failed to ensure the variable was set to a known value before use.

Attack Vector

The attack vector is local, requiring an attacker to have user-level access to a system with an AMD GPU. The attacker would need to interact with the amdgpu driver through the DRM (Direct Rendering Manager) subsystem, potentially by crafting malicious GPU command submissions that trigger the vulnerable code path. The high attack complexity stems from the requirement to either control the uninitialized memory contents or time the exploitation to coincide with predictable memory states.

The vulnerability can be triggered through userspace GPU applications that submit VCE commands to the kernel driver. An attacker could craft specific command sequences that exercise the uninitialized code path, potentially leading to memory disclosure or corruption.

Detection Methods for CVE-2024-42228

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to the amdgpu or VCE subsystems
  • Unusual DRM ioctl activity from non-standard processes
  • Kernel log messages indicating amdgpu VCE errors or memory corruption
  • Abnormal GPU command submission patterns from userspace applications

Detection Strategies

  • Monitor kernel logs for amdgpu driver errors, particularly those mentioning VCE or amdgpu_vce_cs_reloc
  • Deploy kernel memory sanitizers (KASAN/KMSAN) in testing environments to detect uninitialized memory access
  • Use SentinelOne Singularity Platform for real-time kernel-level threat monitoring
  • Implement system call auditing for DRM-related ioctls on systems with AMD GPUs

Monitoring Recommendations

  • Enable kernel auditing for GPU driver interactions on critical systems
  • Monitor for unusual processes accessing /dev/dri/* device nodes
  • Configure alerts for kernel oops or panics in the amdgpu driver subsystem
  • Regularly review security advisories from Linux kernel maintainers and Debian LTS announcements

How to Mitigate CVE-2024-42228

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • Review the official kernel commits for applicable patches (see patch information below)
  • For Debian-based systems, apply updates from the Debian LTS Announcement October 2024 or Debian LTS Announcement January 2025
  • Consider restricting access to GPU devices for untrusted users until patching is complete

Patch Information

Multiple patches have been released to address this vulnerability across different kernel versions. The fix initializes the size variable before calling amdgpu_vce_cs_reloc and implements improved handling using a sentinel value of 0xffffffff.

Key patch commits include:

  • Linux Kernel Commit 855ae72
  • Linux Kernel Commit 88a9a46
  • Linux Kernel Commit f8f120b
  • Linux Kernel Commit 3b50575
  • Linux Kernel Commit 9ee1534

Workarounds

  • Restrict access to GPU devices by modifying permissions on /dev/dri/* nodes
  • Disable the amdgpu VCE module if video encoding functionality is not required
  • Limit unprivileged user access to systems with AMD GPUs until patches are applied
  • Deploy runtime kernel exploit detection tools to monitor for exploitation attempts
bash
# Restrict GPU device access to trusted users only
chmod 660 /dev/dri/card*
chown root:video /dev/dri/card*

# Verify current kernel version
uname -r

# Check for available kernel updates (Debian/Ubuntu)
apt update && apt list --upgradable | grep linux

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-908
  • Technical References
  • Linux Kernel Commit 3b50575

  • Linux Kernel Commit 9ee1534

  • Linux Kernel Commit d35cf41

  • Linux Kernel Commit da6a85d

  • Linux Kernel Commit df02642

  • Debian LTS Announcement October 2024

  • Debian LTS Announcement January 2025
  • Vendor Resources
  • Linux Kernel Commit 855ae72

  • Linux Kernel Commit 88a9a46

  • Linux Kernel Commit f8f120b
  • Related CVEs
  • CVE-2026-31439: Linux Kernel XDMA Error Handling Flaw

  • CVE-2026-31441: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31434: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31435: Linux Kernel Read Abandonment 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