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

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

CVE-2026-45879 is a use-after-free flaw in the Linux kernel bq25980 power supply driver that can cause system crashes or memory corruption. This post covers the technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-45879 Overview

CVE-2026-45879 is a use-after-free vulnerability in the Linux kernel's bq25980 battery charger power supply driver. The flaw stems from incorrect ordering of devm_ managed resource allocations during driver initialization. The driver requests its interrupt (IRQ) before allocating and registering the power_supply handle, which causes the handle to be freed before the IRQ handler is unregistered during device removal. This creates a race condition where an interrupt can fire after the power_supply handle is deallocated but before the IRQ handler is removed.

Critical Impact

An IRQ fired during driver teardown calls power_supply_changed() on a freed power_supply handle, leading to system crashes or silent memory corruption on affected Linux systems using the bq25980 charger.

Affected Products

  • Linux kernel versions containing the bq25980 power supply driver prior to the fix
  • Linux stable branches receiving backports across multiple commits
  • Embedded and mobile Linux devices using the Texas Instruments BQ25980 battery charger IC

Discovery Timeline

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

Technical Details for CVE-2026-45879

Vulnerability Analysis

The vulnerability resides in the bq25980 battery charger driver under drivers/power/supply/. The driver uses Linux's device-managed (devm_) resource API, which automatically releases resources in reverse order of allocation when a device is removed. Because the driver requested the IRQ via devm_request_threaded_irq() before registering the power_supply class device with devm_power_supply_register(), the deallocation order during removal frees the power_supply structure before the IRQ is unregistered.

If the charger asserts an interrupt during this narrow window, the threaded IRQ handler invokes power_supply_changed() with a dangling pointer to a freed object. The result is a use-after-free condition [CWE-416] that can crash the kernel or corrupt arbitrary memory depending on how the freed allocation has been reused.

Root Cause

The root cause is incorrect ordering of devm_ managed resource lifetimes. Devres unwinds in last-in, first-out order, so an IRQ registered first is freed last. The power_supply handle that the IRQ handler dereferences becomes invalid before the IRQ source is silenced. A similar uninitialized-use hazard exists during probe() if an interrupt fires before power_supply registration completes.

Attack Vector

Triggering the condition requires a charger interrupt to fire during driver unbind or early probe. This is generally a local, hardware-driven race observable during module unload, system suspend/resume, hot-unplug, or boot. The vulnerability primarily affects availability and memory integrity on devices that integrate the bq25980 charger. No network attack vector is documented, and no public proof of concept or in-the-wild exploitation has been reported. The EPSS data indicates a low probability of exploitation.

The upstream fix reorders initialization so that devm_request_threaded_irq() runs only after devm_power_supply_register() succeeds. See the patch commits referenced under Kernel Git Commit 4aeaf03 and Kernel Git Commit 86f93df for the corrected ordering.

Detection Methods for CVE-2026-45879

Indicators of Compromise

  • Kernel oops or panic referencing power_supply_changed in the call stack during module unload or device unbind
  • KASAN reports flagging use-after-free reads inside the bq25980 driver path
  • Unexpected reboots on devices with the BQ25980 charger correlated with charger plug/unplug events

Detection Strategies

  • Run kernels built with CONFIG_KASAN=y in test environments to surface the use-after-free at runtime
  • Audit loaded kernel modules for bq25980 and verify the running kernel includes one of the stable fix commits listed in the references
  • Inspect dmesg and persistent crash logs (pstore, kdump) for bq25980_irq_handler_thread or power_supply_changed frames near free operations

Monitoring Recommendations

  • Forward kernel logs and crash dumps to a centralized log platform for correlation across fleets of embedded or mobile Linux devices
  • Track kernel package versions across managed Linux endpoints to identify hosts running pre-patch builds
  • Alert on repeated charger driver interrupts coinciding with driver unbind or suspend transitions

How to Mitigate CVE-2026-45879

Immediate Actions Required

  • Apply the upstream Linux kernel patches that reorder IRQ registration after power_supply registration in the bq25980 driver
  • Update to a stable kernel release that incorporates the fix commits referenced by kernel.org
  • For vendor kernels, request and deploy backports from the device or distribution maintainer

Patch Information

The vulnerability is fixed across multiple stable branches. Relevant commits include Kernel Git Commit 03d1e4e, Kernel Git Commit 0560a4b, Kernel Git Commit 0de95d2, Kernel Git Commit 16875e3, Kernel Git Commit 4aeaf03, Kernel Git Commit 5f0b1cb, Kernel Git Commit 86f93df, and Kernel Git Commit abea607. The fix moves devm_request_threaded_irq() to execute after devm_power_supply_register() returns successfully.

Workarounds

  • Blacklist the bq25980 kernel module on systems where the charger driver is not strictly required
  • Avoid unbinding or unloading the bq25980 module on production devices until a patched kernel is deployed
  • Restrict physical and administrative access that could trigger repeated driver bind/unbind cycles
bash
# Verify whether the bq25980 driver is loaded and check kernel version
lsmod | grep bq25980
uname -r

# Optional: blacklist the module until a patched kernel is installed
echo "blacklist bq25980" | sudo tee /etc/modprobe.d/blacklist-bq25980.conf
sudo update-initramfs -u

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 03d1e4e

  • Kernel Git Commit 0560a4b

  • Kernel Git Commit 0de95d2

  • Kernel Git Commit 16875e3

  • Kernel Git Commit 4aeaf03

  • Kernel Git Commit 5f0b1cb

  • Kernel Git Commit 86f93df

  • Kernel Git Commit abea607
  • Related CVEs
  • CVE-2026-46240: Linux Kernel Use-After-Free Vulnerability

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

  • CVE-2026-46056: Linux Kernel Bluetooth UAF Vulnerability

  • CVE-2026-45916: 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