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

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

CVE-2021-28663 is a privilege escalation vulnerability in Arm Mali GPU kernel driver caused by mishandled memory operations leading to use-after-free. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2021-28663 Overview

CVE-2021-28663 is a critical use-after-free vulnerability affecting the Arm Mali GPU kernel driver that allows privilege escalation or information disclosure. The vulnerability exists because GPU memory operations are mishandled, creating a condition where freed memory can be accessed by an attacker. This flaw affects multiple generations of Mali GPU drivers including Bifrost, Valhall, and Midgard architectures, impacting a wide range of mobile devices, embedded systems, and IoT devices that utilize Arm Mali graphics processors.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Successful exploitation can lead to complete system compromise through privilege escalation or sensitive data exfiltration via information disclosure.

Affected Products

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

Discovery Timeline

  • 2021-05-10 - CVE-2021-28663 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-28663

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) resides in the Arm Mali GPU kernel driver's memory management subsystem. The flaw occurs when GPU memory operations are improperly handled, allowing an attacker to reference memory after it has been freed. In the context of kernel drivers, this type of vulnerability is particularly dangerous as it can be leveraged to corrupt kernel memory structures, potentially leading to arbitrary code execution with kernel-level privileges.

The vulnerability affects the memory allocation and deallocation routines within the Mali GPU driver, where a race condition or improper reference counting can lead to a scenario where a memory region is freed while still being referenced by other components. When this freed memory is subsequently reallocated and modified, the dangling reference can be exploited to achieve privilege escalation from an unprivileged user context to kernel context.

Root Cause

The root cause of CVE-2021-28663 stems from improper handling of GPU memory operations within the Mali kernel driver. Specifically, the vulnerability is triggered by a failure to properly track and validate memory references during GPU memory management operations. When memory regions used by the GPU are freed, the driver fails to properly invalidate all references to these regions, creating dangling pointers that can be subsequently exploited.

This type of memory safety issue is common in complex kernel drivers that must manage shared memory between user space, kernel space, and hardware accelerators. The Mali GPU driver's memory management must coordinate between multiple execution contexts, and the failure to properly synchronize these operations creates the use-after-free condition.

Attack Vector

The attack vector for this vulnerability is network-based according to its classification, though practical exploitation typically requires local code execution on the target device. An attacker with low-privilege access to a system running vulnerable Mali GPU drivers can craft malicious GPU memory operations to trigger the use-after-free condition. The exploitation process generally involves:

  1. Allocating GPU memory buffers through the Mali driver interface
  2. Manipulating the memory allocation patterns to create a predictable heap state
  3. Triggering the use-after-free by causing premature memory deallocation
  4. Spraying controlled data into the freed memory region
  5. Using the dangling reference to corrupt kernel data structures and achieve privilege escalation

A proof-of-concept repository demonstrating this vulnerability is available on GitHub. The exploitation requires understanding of the Mali GPU driver's memory management internals and kernel heap manipulation techniques.

Detection Methods for CVE-2021-28663

Indicators of Compromise

  • Unusual GPU memory allocation patterns or excessive memory pressure on Mali GPU subsystems
  • Kernel crash logs indicating memory corruption in Mali driver modules (mali_kbase, mali_bifrost, mali_midgard)
  • Suspicious processes attempting to interact with Mali GPU device files (/dev/mali*) with elevated frequency
  • Evidence of heap spraying techniques in kernel memory regions
  • Unexpected privilege elevation from user-level processes to root/kernel level

Detection Strategies

  • Monitor for kernel oops or panics originating from Mali GPU driver code paths
  • Implement kernel memory integrity monitoring to detect corruption in driver-related structures
  • Deploy endpoint detection solutions capable of monitoring GPU driver interactions and system call patterns
  • Analyze device driver version information to identify systems running vulnerable Mali driver versions

Monitoring Recommendations

  • Enable kernel auditing for device file access to /dev/mali* and related GPU interfaces
  • Configure crash dump collection to preserve forensic evidence of potential exploitation attempts
  • Implement behavioral analysis to detect anomalous GPU memory allocation patterns
  • Monitor for privilege escalation events following GPU driver interactions

How to Mitigate CVE-2021-28663

Immediate Actions Required

  • Update Arm Mali GPU kernel drivers to patched versions: Bifrost r29p0 or later, Valhall r29p0 or later, or contact vendor for Midgard updates
  • Prioritize patching for any internet-facing or multi-user systems with Mali GPU hardware
  • Review system access controls to minimize unprivileged access to GPU device interfaces
  • Consider deploying additional kernel hardening measures such as KASLR, heap protection, and SELinux/AppArmor policies

Patch Information

Arm has released security updates addressing this vulnerability. The fixes are available in Bifrost r29p0 and later, and Valhall r29p0 and later. For detailed patch information and download links, consult the ARM Security Updates page and the Mali GPU Driver Security Update documentation.

For device manufacturers and OEMs, integration of the patched drivers into device firmware updates is essential. End users should check with their device manufacturer for firmware updates that include the Mali GPU driver fixes.

Workarounds

  • Restrict access to Mali GPU device files using file system permissions and SELinux policies
  • On multi-user systems, limit GPU access to trusted applications and users only
  • Consider disabling GPU acceleration in high-security environments until patches can be applied
  • Implement additional security boundaries around applications that interact with GPU drivers
bash
# Restrict Mali GPU device access to specific user groups
chmod 660 /dev/mali*
chown root:gpu /dev/mali*

# Optional: Apply SELinux policy to restrict Mali driver access
# Consult your distribution's SELinux documentation for proper implementation

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 Probability2.42%

  • 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
  • GitHub PoC for CVE-2021-28663

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • ARM Security Updates

  • Mali GPU Driver Security Update
  • Related CVEs
  • CVE-2021-29256: Arm Bifrost GPU Privilege Escalation Flaw

  • CVE-2021-28664: 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