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
    • 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-2022-38181

CVE-2022-38181: Arm Bifrost GPU Use-After-Free Flaw

CVE-2022-38181 is a use-after-free vulnerability in Arm Mali GPU kernel drivers affecting Bifrost, Valhall, and Midgard. Unprivileged users can access freed memory due to mishandled GPU operations. This article covers affected versions, technical details, impact, and mitigation strategies.

Published: February 18, 2026

CVE-2022-38181 Overview

CVE-2022-38181 is a Use-After-Free vulnerability in the Arm Mali GPU kernel driver that allows unprivileged users to access freed memory due to mishandled GPU memory operations. This vulnerability affects multiple Mali GPU driver families including Bifrost, Valhall, and Midgard, impacting a wide range of Android devices and embedded systems that utilize Arm Mali GPUs.

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 arbitrary code execution with elevated privileges on affected devices.

Affected Products

  • Arm Bifrost GPU Kernel Driver r0p0 through r38p1, and r39p0
  • Arm Valhall GPU Kernel Driver r19p0 through r38p1, and r39p0
  • Arm Midgard GPU Kernel Driver r4p0 through r32p0

Discovery Timeline

  • 2022-10-25 - CVE-2022-38181 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2022-38181

Vulnerability Analysis

This Use-After-Free (CWE-416) vulnerability exists within the Arm Mali GPU kernel driver's memory management subsystem. The flaw occurs when GPU memory operations are improperly handled, creating a race condition where memory can be accessed after it has been freed. This type of vulnerability is particularly dangerous in kernel drivers as it can be leveraged to achieve kernel-level code execution from an unprivileged user context.

The vulnerability has been documented in GitHub Security Advisory GHSL-2022-054 and was notably discussed in a GitHub Blog post demonstrating its use in compromising Google Pixel devices. The widespread deployment of Mali GPUs in Android smartphones and tablets makes this vulnerability particularly impactful across the mobile ecosystem.

Root Cause

The root cause of CVE-2022-38181 lies in improper synchronization and reference counting within the GPU memory management code. When GPU memory regions are allocated and subsequently freed, the driver fails to properly invalidate all references to the freed memory. This allows a malicious application to retain a dangling pointer to the freed memory region, which can then be reallocated for a different purpose, enabling the attacker to manipulate kernel memory structures.

Attack Vector

The attack vector involves a local unprivileged application making specific GPU memory allocation and deallocation requests in a controlled sequence. By carefully timing these operations, an attacker can create a scenario where:

  1. Memory is allocated for GPU operations
  2. The memory is freed but references remain valid
  3. The freed memory is reallocated for kernel objects
  4. The attacker uses the dangling reference to corrupt kernel data structures

This attack chain can ultimately lead to arbitrary code execution with kernel privileges, effectively giving the attacker complete control over the affected device. Technical details and proof-of-concept information are available in the Packet Storm Exploit Report.

Detection Methods for CVE-2022-38181

Indicators of Compromise

  • Anomalous GPU memory allocation patterns from unprivileged applications
  • Unexpected kernel crashes or system instability related to Mali GPU driver operations
  • Evidence of privilege escalation attempts following GPU-intensive operations
  • Suspicious processes making excessive ioctl calls to Mali GPU device nodes

Detection Strategies

  • Monitor for unusual patterns of GPU memory allocation and deallocation from user-space applications
  • Implement kernel-level monitoring for Use-After-Free access patterns in GPU driver memory regions
  • Deploy endpoint detection solutions capable of identifying exploitation attempts targeting known Mali GPU vulnerabilities
  • Audit device driver version information to identify systems running vulnerable Mali GPU kernel driver versions

Monitoring Recommendations

  • Enable kernel auditing for GPU-related system calls and ioctl operations
  • Implement runtime integrity monitoring for kernel memory structures
  • Deploy SentinelOne Singularity platform for real-time behavioral detection of exploitation attempts
  • Maintain asset inventory of devices with Mali GPU hardware to track patch compliance

How to Mitigate CVE-2022-38181

Immediate Actions Required

  • Apply vendor-provided security patches for affected Arm Mali GPU kernel drivers immediately
  • Prioritize patching for devices listed in CISA KEV catalog requirements
  • Restrict installation of untrusted applications on affected devices
  • Enable application sandboxing and security features where available
  • Consider network isolation for unpatched devices until remediation is complete

Patch Information

Arm has released security updates addressing this vulnerability. Organizations should consult the ARM Mali GPU Driver Vulnerabilities page and ARM Security Updates portal for the latest patched driver versions. For Android devices, ensure the latest security patch level from the device manufacturer is installed, as this vulnerability has been addressed in Android security bulletins.

Workarounds

  • Limit installation of applications to trusted sources only (enterprise app stores or Google Play)
  • Implement Mobile Device Management (MDM) policies to control application installation on affected devices
  • Enable SELinux in enforcing mode on Android devices to limit exploitation impact
  • Consider application whitelisting to prevent unauthorized code execution on affected systems
bash
# Check Mali GPU driver version on Android (requires ADB access)
adb shell cat /sys/module/mali_kbase/version
# Or for older drivers:
adb shell cat /sys/module/mali/version

# Verify Android security patch level
adb shell getprop ro.build.version.security_patch

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/TechArm Bifrost Gpu Kernel Driver

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability24.55%

  • 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
  • Packet Storm Exploit Report

  • GitHub Blog on Google Phone Bug

  • GitHub Security Advisory GHSL-2022-054

  • CISA Known Exploited Vulnerability CVE-2022-38181
  • Vendor Resources
  • ARM Mali GPU Driver Vulnerabilities

  • ARM Security Updates
  • Related CVEs
  • CVE-2024-4610: Arm Bifrost GPU Use After Free Vulnerability

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

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

  • CVE-2021-28663: Arm Bifrost GPU Privilege Escalation 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