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
    • 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-31506

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

CVE-2026-31506 is a use-after-free vulnerability in the Linux kernel's bcmasp network driver involving double free of WoL IRQ. This article covers the technical details, affected versions, security impact, and mitigation.

Published: April 23, 2026

CVE-2026-31506 Overview

CVE-2026-31506 is a double free vulnerability in the Linux kernel's bcmasp network driver, specifically affecting the Wake-on-LAN (WoL) interrupt handling. The vulnerability occurs when the wol_irq resource is manually freed despite being allocated with devm_request_irq(), which automatically handles resource cleanup through the device resource management (devres) subsystem. This results in attempting to free the same memory twice, leading to potential memory corruption and system instability.

Critical Impact

Double free vulnerabilities in kernel space can lead to memory corruption, denial of service, and potentially privilege escalation on affected Linux systems using the bcmasp network driver.

Affected Products

  • Linux kernel with bcmasp network driver enabled
  • Systems using Broadcom ASP (Memory Controller Peripheral) network hardware
  • Linux-based devices with Wake-on-LAN functionality utilizing the bcmasp driver

Discovery Timeline

  • 2026-04-22 - CVE CVE-2026-31506 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-31506

Vulnerability Analysis

This vulnerability resides in the bcmasp network driver within the Linux kernel's networking subsystem. The root cause is an improper handling of device-managed resources where the Wake-on-LAN interrupt (wol_irq) is being explicitly freed in cleanup code, despite being originally allocated using devm_request_irq().

The devres (device resource management) subsystem in Linux is designed to automatically track and free device resources when a device is unbound or removed. When a developer allocates a resource using a devm_* function, the kernel automatically handles cleanup. Manually freeing such resources results in a double free condition—the resource is freed once explicitly and then again when devres performs its automatic cleanup.

Root Cause

The vulnerability stems from redundant resource deallocation in the bcmasp driver. When devm_request_irq() is used to request an interrupt, the kernel's devres framework automatically registers a callback to free the interrupt when the associated device is removed. The problematic code path included an explicit call to free wol_irq, which conflicts with the automatic cleanup mechanism. This programming error violates the devres contract and introduces memory safety issues.

Attack Vector

Exploitation of this double free vulnerability would typically require local access to trigger the specific code path that causes the double free condition. The vulnerability could be triggered during driver unload, device removal, or error handling scenarios where the cleanup code is executed. While the attack vector complexity depends on the specific system configuration, successful exploitation could result in:

  • Kernel memory corruption
  • Denial of service through system crash or panic
  • Potential privilege escalation if an attacker can control the freed memory contents

The vulnerability does not appear to have public exploitation code available, and the attack surface is limited to systems actively using the bcmasp network driver with WoL functionality.

Detection Methods for CVE-2026-31506

Indicators of Compromise

  • Kernel panic messages referencing bcmasp driver or double free errors
  • System logs showing memory corruption warnings in the networking subsystem
  • Unexpected system reboots or crashes during network driver operations
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free or double-free in bcmasp module

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in kernel builds to detect memory corruption issues
  • Monitor kernel logs (dmesg) for bcmasp driver error messages and memory-related warnings
  • Implement runtime integrity monitoring for kernel memory regions
  • Deploy endpoint detection solutions capable of monitoring kernel-level anomalies

Monitoring Recommendations

  • Configure centralized logging to capture kernel messages related to network driver operations
  • Implement alerting for kernel panic events or unexpected system restarts
  • Monitor for unusual network driver load/unload patterns that might indicate exploitation attempts
  • Enable kernel debugging options in development environments to catch memory management issues early

How to Mitigate CVE-2026-31506

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for CVE-2026-31506
  • Review systems inventory to identify devices using the bcmasp network driver
  • Consider temporarily disabling Wake-on-LAN functionality if immediate patching is not possible
  • Apply kernel updates during the next available maintenance window

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix removes the redundant explicit free of wol_irq, allowing the devres subsystem to properly handle resource cleanup. Multiple kernel git commits address this issue across different kernel branches:

  • Kernel Git Commit 121a6ad
  • Kernel Git Commit 8a30509
  • Kernel Git Commit 9e5f5c0
  • Kernel Git Commit cbfa5be

Organizations should apply the appropriate patch based on their current kernel version and distribution.

Workarounds

  • Disable the bcmasp network driver if not required for system operation by blacklisting the module
  • Disable Wake-on-LAN functionality to reduce the attack surface involving wol_irq
  • Use alternative network hardware/drivers if available and the bcmasp driver cannot be immediately patched
  • Implement network segmentation to limit exposure of vulnerable systems
bash
# Disable bcmasp driver by blacklisting the module
echo "blacklist bcmasp" >> /etc/modprobe.d/blacklist.conf

# Remove the module if currently loaded (requires root privileges)
modprobe -r bcmasp

# Verify the module is not loaded
lsmod | grep bcmasp

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

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 121a6ad

  • Kernel Git Commit 8a30509

  • Kernel Git Commit 9e5f5c0

  • Kernel Git Commit cbfa5be
  • Related CVEs
  • CVE-2026-31745: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-43056: Linux Kernel Use-After-Free Vulnerability
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