Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-31513

CVE-2026-31513: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-31513 is a buffer overflow flaw in the Linux kernel's Bluetooth L2CAP implementation that triggers a stack-out-of-bounds read. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 23, 2026

CVE-2026-31513 Overview

A stack-out-of-bounds read vulnerability has been discovered in the Linux kernel's Bluetooth L2CAP subsystem, specifically within the l2cap_ecred_conn_req() function. The vulnerability is triggered when processing malformed Enhanced Credit Based Connection Requests, allowing an attacker to cause a kernel panic via KASAN detection of out-of-bounds memory access.

The flaw was identified by Syzbot, a continuous fuzzing infrastructure for the Linux kernel. When an attacker sends a request containing more than 5 Source Channel IDs (SCIDs), the function incorrectly calculates rsp_len based on unvalidated cmd_len before performing boundary checks. This results in l2cap_send_cmd() reading beyond the allocated 18-byte pdu stack buffer.

Critical Impact

Remote attackers within Bluetooth range can trigger kernel memory disclosure or denial of service by sending crafted L2CAP Enhanced Credit Based Connection Request packets, potentially causing system crashes or information leakage.

Affected Products

  • Linux kernel with Bluetooth L2CAP subsystem enabled
  • Systems with Enhanced Credit Based Flow Control support
  • Linux-based devices with Bluetooth connectivity

Discovery Timeline

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

Technical Details for CVE-2026-31513

Vulnerability Analysis

The vulnerability exists in the l2cap_ecred_conn_req() function within the Linux kernel's Bluetooth L2CAP implementation. The function allocates a local stack buffer (pdu) designed to accommodate a maximum of 5 Source Channel IDs (SCIDs), totaling 18 bytes of storage.

When processing an Enhanced Credit Based Connection Request, the function calculates rsp_len based on the incoming cmd_len value before validating whether the number of SCIDs exceeds the L2CAP_ECRED_MAX_CID threshold. If an attacker sends a request with more than 5 SCIDs, the code correctly identifies this condition and jumps to the response label to reject the malformed packet.

However, the critical flaw is that rsp_len retains the attacker-controlled oversized value when the rejection path is taken. Subsequently, l2cap_send_cmd() is called with this inflated rsp_len, instructing it to read past the legitimate bounds of the 18-byte pdu buffer. This triggers a KASAN stack-out-of-bounds read panic, potentially exposing sensitive kernel stack memory or causing a denial of service condition.

Root Cause

The root cause is a logic error in the order of operations within l2cap_ecred_conn_req(). The rsp_len variable is assigned a value derived from unvalidated user input (cmd_len) before the boundary check on num_scid is performed. When the function branches to the error handling path, rsp_len still contains the attacker-influenced value rather than being reset to a safe value.

The fix addresses this by relocating the rsp_len assignment to occur after the num_scid boundary validation. In the corrected implementation, if the packet is rejected due to excessive SCIDs, rsp_len safely remains at 0, and the error response only reads the 8-byte base header from the stack.

Attack Vector

The attack can be performed by any Bluetooth-capable device within radio range of the target system. The attacker crafts a malicious L2CAP Enhanced Credit Based Connection Request packet containing more than 5 SCIDs in the payload.

When the target kernel processes this packet, the vulnerable code path is triggered. The attack requires no authentication and exploits the L2CAP signaling channel, which is accessible before pairing or bonding is established.

The vulnerability mechanism involves sending an oversized SCID array that bypasses initial length validation, causing the kernel to read beyond allocated stack memory when constructing the response. For detailed technical implementation, refer to the kernel commit patches.

Detection Methods for CVE-2026-31513

Indicators of Compromise

  • KASAN kernel panics or warnings referencing l2cap_build_cmd() or l2cap_ecred_conn_req()
  • Kernel log entries indicating stack-out-of-bounds read in Bluetooth subsystem
  • Unexpected system crashes during Bluetooth operations
  • Suspicious L2CAP connection attempts with abnormally large SCID counts

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in kernel configuration to detect memory access violations
  • Monitor kernel logs for Bluetooth L2CAP-related stack corruption warnings
  • Implement Bluetooth traffic monitoring to identify malformed L2CAP signaling packets
  • Deploy endpoint detection solutions capable of identifying kernel exploitation attempts

Monitoring Recommendations

  • Configure system logging to capture kernel Bluetooth subsystem messages at debug level
  • Implement alerting on KASAN panic events in production systems
  • Monitor for unusual Bluetooth connection patterns or repeated connection request failures
  • Review kernel crash dumps for evidence of L2CAP-related memory corruption

How to Mitigate CVE-2026-31513

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • If immediate patching is not possible, consider disabling Bluetooth functionality on critical systems
  • Monitor systems for signs of exploitation attempts
  • Review Bluetooth device pairing policies and limit exposure to untrusted devices

Patch Information

The vulnerability has been addressed in multiple kernel commits. Apply the appropriate patch for your kernel version:

  • Commit 5b35f8211a913cfe7ab9d54fa36a272d2059a588 - View Patch
  • Commit 9d87cb22195b2c67405f5485d525190747ad5493 - View Patch
  • Commit a3d9c50d69785ae02e153f000da1b5fd6dbfdf1b - View Patch
  • Commit c8e1a27edb8b4e5afb56b384acd7b6c2dec1b7cc - View Patch

Workarounds

  • Disable Bluetooth at the kernel level by blacklisting the bluetooth module
  • Use rfkill to disable Bluetooth hardware when not required
  • Implement network segmentation to limit Bluetooth exposure in sensitive environments
  • Apply firewall rules or Bluetooth filtering where supported to block untrusted connections
bash
# Configuration example
# Disable Bluetooth module loading
echo "blacklist bluetooth" >> /etc/modprobe.d/bluetooth-blacklist.conf
echo "blacklist btusb" >> /etc/modprobe.d/bluetooth-blacklist.conf

# Disable Bluetooth using rfkill
rfkill block bluetooth

# Verify Bluetooth is disabled
rfkill list bluetooth

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit
  • Related CVEs
  • CVE-2026-31449: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31512: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31438: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31450: Linux Kernel Buffer Overflow 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