A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-45936

CVE-2026-45936: Linux Kernel Use-After-Free Vulnerability

CVE-2026-45936 is a use-after-free flaw in the Linux kernel's goldfish power supply driver that can cause system crashes due to race conditions during IRQ handling. This article covers technical details, impact, and fixes.

Published: May 28, 2026

CVE-2026-45936 Overview

CVE-2026-45936 is a use-after-free vulnerability in the Linux kernel's goldfish power supply driver. The flaw resides in the driver's probe and removal sequence, where the interrupt request and power_supply handle registration occur in the wrong order. Because devm_ managed resources deallocate in reverse allocation order, the power_supply handle can be freed before the IRQ handler is unregistered. An interrupt firing during this window causes power_supply_changed() to operate on a freed handle.

Critical Impact

Triggering the race during device removal or probe can crash the kernel or silently corrupt memory through use-after-free in power_supply_changed().

Affected Products

  • Linux kernel goldfish power supply driver (drivers/power/supply/goldfish_battery.c)
  • Stable kernel branches receiving the backported fixes referenced in the advisory
  • Android emulator and virtualized environments that rely on the goldfish virtual battery device

Discovery Timeline

  • 2026-05-27 - CVE-2026-45936 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-45936

Vulnerability Analysis

The goldfish battery driver uses Linux device-managed (devm_) allocation helpers for both IRQ registration and power_supply registration. Device-managed resources are released in reverse allocation order during driver teardown. When the driver requests the IRQ before registering the power_supply handle, the power_supply handle is freed first on removal, while the IRQ handler remains live. An incoming interrupt then calls power_supply_changed() with a dangling pointer, producing a classic use-after-free condition.

A second variant of the same defect occurs at probe() time. If the interrupt line fires between IRQ registration and power_supply registration, the handler dereferences an uninitialized power_supply structure. Both paths produce undefined behavior ranging from kernel oops to silent memory corruption.

Root Cause

The root cause is ordering of device-managed resource lifetimes. The driver requested the IRQ via the devm_ API before allocating and registering the power_supply instance, inverting the dependency between the resources. This is a logic flaw in driver initialization rather than a missing bounds check.

Attack Vector

Exploitation requires the ability to trigger driver unbind, module removal, or device probe while the interrupt source can be raised. In virtualized contexts running the goldfish emulator, a guest or controlling component capable of asserting the battery IRQ during teardown can drive the race. Local privileged actions that bind and unbind the driver, combined with interrupt activity, are sufficient to reach the freed handle.

No verified exploit code is available. The vulnerability is described in prose in the upstream commit messages referenced below. See the Kernel Patch 0b29ffe and Kernel Patch bad8b61 for the corrected initialization sequence.

Detection Methods for CVE-2026-45936

Indicators of Compromise

  • Kernel oops or panic stack traces referencing power_supply_changed and goldfish_battery during module unload or device unbind
  • KASAN reports flagging use-after-free in power_supply_changed() originating from the goldfish IRQ handler
  • Unexpected memory corruption symptoms in virtualized Android or emulator hosts that exercise the goldfish battery device

Detection Strategies

  • Enable CONFIG_KASAN on test kernels to catch use-after-free accesses in the goldfish driver path
  • Audit running kernel versions against the patched stable commits listed in the references to confirm whether the fix is applied
  • Correlate dmesg output across fleet hosts for crash signatures involving power_supply_changed after driver unbind events

Monitoring Recommendations

  • Forward kernel logs and crash dumps to a centralized analytics platform and alert on use-after-free signatures touching power supply subsystems
  • Track driver bind, unbind, and module load events on hosts running emulator or goldfish workloads
  • Monitor for unexpected reboots or kernel panics on virtualization hosts that may indicate exploitation attempts of the race condition

How to Mitigate CVE-2026-45936

Immediate Actions Required

  • Apply the upstream stable kernel patches that reorder IRQ registration to occur after power_supply registration
  • Inventory hosts using the goldfish battery driver, particularly Android emulator infrastructure and CI runners
  • Restrict driver bind and unbind operations to trusted administrative contexts until patched kernels are deployed

Patch Information

The fix moves the devm_request_irq() call to occur after devm_power_supply_register(), ensuring the IRQ handler is torn down before the power_supply handle is released. Patched commits across stable branches include Kernel Patch 0b29ffe, Kernel Patch 33751e2, Kernel Patch 4350505, Kernel Patch 589d4fe, Kernel Patch 77ea437, Kernel Patch 8c89aad, Kernel Patch b2ce982, and Kernel Patch bad8b61.

Workarounds

  • Unload or blacklist the goldfish_battery module on systems that do not require the virtual battery device
  • Avoid driver unbind operations and module removal on production hosts until the patched kernel is installed
  • Limit guest or workload ability to assert the goldfish battery interrupt while teardown is in progress
bash
# Blacklist the goldfish battery module until a patched kernel is deployed
echo 'blacklist goldfish_battery' | sudo tee /etc/modprobe.d/blacklist-goldfish.conf
sudo update-initramfs -u
# Verify the module is not loaded
lsmod | grep goldfish_battery

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/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Patch 0b29ffe

  • Kernel Patch 33751e2

  • Kernel Patch 4350505

  • Kernel Patch 589d4fe

  • Kernel Patch 77ea437

  • Kernel Patch 8c89aad

  • Kernel Patch b2ce982

  • Kernel Patch bad8b61
  • Related CVEs
  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46233: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46227: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-46222: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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