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
    • 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-2021-29256

CVE-2021-29256: Arm Bifrost GPU Privilege Escalation Flaw

CVE-2021-29256 is a privilege escalation vulnerability in Arm Bifrost GPU kernel driver that allows unprivileged users to access freed memory, potentially leading to root access. This article covers technical details.

Published: March 4, 2026

CVE-2021-29256 Overview

CVE-2021-29256 is a critical use-after-free vulnerability in the Arm Mali GPU kernel driver that allows an unprivileged user to achieve access to freed memory. This vulnerability can lead to information disclosure or root privilege escalation on affected devices, posing a severe security risk to systems utilizing Arm Mali GPUs.

Critical Impact

This vulnerability is actively exploited in the wild and has been added to CISA's Known Exploited Vulnerabilities (KEV) catalog. Successful exploitation enables attackers to escalate privileges to root or leak sensitive kernel memory.

Affected Products

  • Arm Bifrost GPU Kernel Driver r16p0 through r29p0 (before r30p0)
  • Arm Valhall GPU Kernel Driver r19p0 through r29p0 (before r30p0)
  • Arm Midgard GPU Kernel Driver r28p0 through r30p0

Discovery Timeline

  • 2021-05-24 - CVE-2021-29256 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-29256

Vulnerability Analysis

The vulnerability resides in the Mali GPU kernel driver's memory management subsystem. When GPU memory objects are freed, the driver fails to properly invalidate all references to the freed memory regions. This creates a condition where an unprivileged user can continue to access memory that has already been deallocated and potentially reallocated for other purposes.

The flaw can be exploited in two primary ways: first, by reading freed memory that may now contain sensitive kernel data (information disclosure), and second, by manipulating the contents of freed memory before it gets reallocated, potentially allowing an attacker to corrupt kernel data structures and achieve privilege escalation to root.

This vulnerability is classified as CWE-416 (Use After Free), a memory safety issue where a program continues to use a pointer after it has been freed.

Root Cause

The root cause of CVE-2021-29256 stems from improper memory lifecycle management within the Mali GPU kernel driver. When memory objects associated with GPU operations are freed, the kernel driver does not adequately track and invalidate all dangling pointers or references to the freed memory regions. This allows subsequent operations to inadvertently or intentionally access memory that is no longer valid for the original context.

The affected driver versions across Bifrost, Valhall, and Midgard architectures share common memory management code paths where this vulnerability manifests, indicating a systemic issue in the driver's memory handling logic.

Attack Vector

An attacker with local access to a system running a vulnerable Mali GPU driver can exploit this vulnerability without requiring elevated privileges. The attack involves:

  1. Triggering GPU memory allocations through normal GPU API calls
  2. Manipulating the timing and sequence of memory allocation and deallocation operations
  3. Exploiting the race condition to access freed memory regions
  4. Reading sensitive kernel memory for information disclosure, or corrupting memory structures to achieve privilege escalation

The vulnerability's severity is amplified by the fact that Mali GPUs are widely deployed in mobile devices, embedded systems, and ARM-based computing platforms, creating a large attack surface for malicious actors targeting these devices.

Detection Methods for CVE-2021-29256

Indicators of Compromise

  • Unusual kernel memory access patterns from GPU-related processes
  • Unexpected privilege escalation events on systems with Mali GPUs
  • Kernel crashes or instability related to Mali GPU driver operations
  • Suspicious processes attempting to interact with GPU memory management interfaces

Detection Strategies

  • Monitor for unusual GPU driver behavior using kernel auditing tools
  • Implement memory integrity monitoring to detect use-after-free exploitation attempts
  • Deploy endpoint detection solutions capable of identifying kernel-level exploitation
  • Review system logs for Mali GPU driver-related errors or anomalies

Monitoring Recommendations

  • Enable kernel audit logging for GPU subsystem interactions
  • Implement real-time monitoring for privilege escalation attempts
  • Configure alerting for unusual memory access patterns in kernel space
  • Regularly review device driver logs for Mali GPU components

How to Mitigate CVE-2021-29256

Immediate Actions Required

  • Update Mali GPU kernel drivers to version r30p0 or later immediately
  • Audit all systems with Arm Mali GPUs (Bifrost, Valhall, Midgard architectures) for vulnerable driver versions
  • Prioritize patching given the known exploitation status and CISA KEV listing
  • Implement additional access controls to limit GPU driver interactions on critical systems

Patch Information

Arm has released patched versions of the Mali GPU kernel drivers that address this vulnerability. The fix is available in:

  • Bifrost GPU Kernel Driver r30p0 and later
  • Valhall GPU Kernel Driver r30p0 and later
  • Midgard GPU Kernel Driver - consult Arm Security Updates for specific remediation guidance

Device manufacturers and vendors should integrate the updated drivers into their firmware updates. End users should apply all available system and firmware updates from their device vendors.

For detailed patch information and driver downloads, refer to the Arm Mali GPU Kernel Driver Security Updates.

Workarounds

  • Restrict local access to systems with vulnerable Mali GPU drivers where possible
  • Implement strict application sandboxing to limit GPU driver access
  • Monitor and limit which processes can interact with GPU subsystems
  • Consider disabling non-essential GPU functionality on high-security systems until patching is complete
bash
# Check current Mali GPU driver version (Linux)
# Method varies by device - example for checking kernel module info
modinfo mali_kbase 2>/dev/null | grep -i version

# Alternative: Check dmesg for Mali driver information
dmesg | grep -i mali | grep -i version

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechArm Bifrost Gpu Kernel Driver

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.64%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-416
  • Technical References
  • CISA Known Exploited Vulnerability
  • Vendor Resources
  • ARM Security Update
  • Related CVEs
  • CVE-2021-28664: Arm Bifrost GPU Privilege Escalation Flaw

  • CVE-2021-28663: Arm Bifrost GPU Privilege Escalation Flaw

  • CVE-2022-22706: Arm Bifrost GPU Privilege Escalation

  • CVE-2022-38181: Arm Bifrost GPU Use-After-Free 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