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

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

CVE-2026-45938 is a use-after-free flaw in the Linux kernel pm8916_lbc power supply driver that can cause system crashes during interrupt handling. This post covers the technical details, affected versions, and fixes.

Published: May 28, 2026

CVE-2026-45938 Overview

CVE-2026-45938 is a use-after-free vulnerability in the Linux kernel's pm8916_lbc power supply driver. The flaw resides in the driver's probe and removal logic, where the interrupt request (devm_request_irq) is registered before the power_supply handle is allocated and registered. Because devm_ resources are released in reverse allocation order, the power_supply handle is freed before the IRQ handler is unregistered. An interrupt firing during this window invokes power_supply_changed() against a freed handle, leading to system crashes or silent memory corruption. A similar race exists during probe() when an IRQ fires before the handle is initialized.

Critical Impact

A race condition between IRQ handling and device removal allows the kernel to dereference a freed power_supply structure, resulting in kernel memory corruption or denial of service on affected Qualcomm PM8916 platforms.

Affected Products

  • Linux kernel builds including the pm8916_lbc power supply driver
  • Qualcomm PM8916 PMIC-based platforms using the linear battery charger driver
  • Stable kernel branches prior to the commits referenced in the upstream fix

Discovery Timeline

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

Technical Details for CVE-2026-45938

Vulnerability Analysis

The pm8916_lbc driver manages the linear battery charger inside the Qualcomm PM8916 power management IC. During device initialization, the driver uses managed resource APIs (devm_*) to request its interrupt line and to register the power_supply class device with the kernel. The Linux device model releases devm_ resources in reverse order of allocation, so resources allocated last are freed first. When the IRQ is requested before the power_supply handle is allocated, removal frees the power_supply handle while the IRQ handler is still active.

If the charger interrupt asserts after power_supply is freed but before devm_free_irq runs, the handler calls power_supply_changed() on dangling memory. This is a textbook use-after-free [CWE-416] in kernel context, which can corrupt the slab allocator or trigger an oops.

Root Cause

The root cause is an ordering bug in the driver's probe sequence. The lifetime of the IRQ handler must be a strict subset of the lifetime of the data it touches. Because devm_request_irq() was called before devm_power_supply_register(), the cleanup order violates this invariant. The same ordering also creates a probe-time window where the IRQ may fire before the power_supply handle is fully initialized, causing the handler to operate on uninitialized memory.

Attack Vector

Exploitation requires the affected pm8916_lbc driver to be present and the device to undergo unbind, module unload, or hot-removal while charger interrupts are active. The race is triggered by hardware-generated interrupts from the PMIC during the narrow window between resource teardown stages. It is not a network-reachable flaw. Impact is limited to local denial of service or kernel memory corruption on devices that ship this driver, such as Qualcomm Snapdragon 410-class platforms.

The fix moves devm_request_irq() to occur after devm_power_supply_register(), ensuring the IRQ is freed before the power_supply handle. See the upstream patches: Kernel Git Commit 08e674e, Kernel Git Commit b750812, Kernel Git Commit d7d31fc, and Kernel Git Commit dbe579e.

Detection Methods for CVE-2026-45938

Indicators of Compromise

  • Kernel oops or panic traces referencing power_supply_changed with pm8916_lbc frames on the call stack
  • KASAN reports flagging a use-after-free read or write in power_supply_changed() triggered from an IRQ context
  • Unexpected reboots or charger-subsystem instability correlated with driver unbind, module unload, or device removal events

Detection Strategies

  • Enable CONFIG_KASAN on test kernels to surface use-after-free accesses in the power supply subsystem during stress unbind cycles
  • Audit dmesg for repeated BUG: KASAN: use-after-free entries originating in drivers/power/supply/pm8916_lbc.c
  • Compare the running kernel against the fixed commits to confirm the driver's probe ordering matches the upstream patch

Monitoring Recommendations

  • Collect kernel crash dumps from fleet devices and triage stack traces involving power_supply_changed
  • Monitor module load and unload events for pm8916_lbc and correlate with subsequent kernel warnings
  • Track stable kernel version inventory to identify hosts still running pre-patch builds

How to Mitigate CVE-2026-45938

Immediate Actions Required

  • Apply the upstream stable kernel updates that contain the reordered devm_request_irq() call in pm8916_lbc
  • Rebuild and deploy vendor kernels for Qualcomm PM8916-based devices once the patch is integrated
  • Avoid runtime unbinding or hot-removal of the pm8916_lbc driver on unpatched systems

Patch Information

The vulnerability is resolved in the Linux kernel by relocating the IRQ request to occur after the power_supply handle is registered. Fixes are available in the following commits: Kernel Git Commit 08e674e, Kernel Git Commit b750812, Kernel Git Commit d7d31fc, and Kernel Git Commit dbe579e. Downstream distributions should pull the corresponding stable backports into their kernel package builds.

Workarounds

  • Restrict access to operations that unbind or unload the pm8916_lbc driver on production devices
  • Disable runtime power management transitions that exercise driver teardown paths until patched kernels are deployed
  • Where feasible, blacklist the pm8916_lbc module on devices that do not require charger functionality until the fix is applied

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 Git Commit 08e674e

  • Kernel Git Commit b750812

  • Kernel Git Commit d7d31fc

  • Kernel Git Commit dbe579e
  • 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