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

CVE-2026-23359: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-23359 is a buffer overflow vulnerability in the Linux kernel's BPF devmap that causes stack-out-of-bounds writes when handling upper devices. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-23359 Overview

A stack-out-of-bounds write vulnerability has been identified in the Linux kernel's BPF (Berkeley Packet Filter) subsystem, specifically within the devmap functionality. The get_upper_ifindexes() function iterates over all upper devices and writes their indices into a stack-allocated array without performing proper bounds checking.

The core issue arises because callers of this function assume the maximum number of upper devices is MAX_NEST_DEV and allocate excluded_devices[1+MAX_NEST_DEV] on the stack. However, this assumption is incorrect—the number of upper devices can exceed MAX_NEST_DEV (for example, when many macvlans are configured), resulting in a stack-out-of-bounds write condition.

Critical Impact

Local attackers with the ability to create network interfaces and configure BPF programs could exploit this vulnerability to corrupt kernel stack memory, potentially leading to privilege escalation or system instability.

Affected Products

  • Linux kernel (multiple versions with BPF devmap support)
  • Systems using XDP programs with BPF_F_BROADCAST | BPF_F_EXCLUDE_INGRESS flags
  • Environments with more than 8 (MAX_NEST_DEV) macvlan interfaces on a single device

Discovery Timeline

  • 2026-03-25 - CVE CVE-2026-23359 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-23359

Vulnerability Analysis

This vulnerability represents an Out-of-Bounds Write condition in the Linux kernel's BPF devmap implementation. The flaw exists within the get_upper_ifindexes() function, which is responsible for collecting interface indices of upper (parent) network devices.

The function writes device indices into a caller-provided array without validating whether the number of upper devices exceeds the array's allocated size. When the number of upper devices surpasses MAX_NEST_DEV (defined as 8), the function continues writing beyond the array boundary, corrupting adjacent stack memory.

This vulnerability is particularly concerning because it occurs in kernel space during the XDP (eXpress Data Path) redirect processing path, which handles high-performance packet processing. Exploitation requires the attacker to create more than 8 macvlan interfaces on a device with an XDP program attached using specific flags, then trigger packet processing through that device.

Root Cause

The root cause is the absence of bounds checking in get_upper_ifindexes() combined with an incorrect assumption by calling functions about the maximum number of upper devices. The code assumed MAX_NEST_DEV would always be the upper limit for nested devices, but this constant does not accurately represent the maximum number of macvlan interfaces that can be attached to a device.

The fix introduces a max parameter to get_upper_ifindexes() to explicitly enforce array bounds. When the number of upper devices exceeds this maximum, the function now returns -EOVERFLOW and aborts the redirect operation, preventing the stack corruption.

Attack Vector

To reproduce and exploit this vulnerability:

  1. Attach an XDP program to a network device using the BPF_F_BROADCAST | BPF_F_EXCLUDE_INGRESS flags
  2. Create more than MAX_NEST_DEV (8) macvlan interfaces on that device
  3. Send a packet to the device to trigger the XDP redirect path
  4. The packet processing will invoke get_upper_ifindexes() which will write beyond the stack-allocated array bounds

The exploitation requires local access with privileges sufficient to create network interfaces and attach BPF programs. The attacker-controlled data written out-of-bounds consists of interface indices, which may limit exploitation options but could still enable stack-based attacks in specific scenarios.

Detection Methods for CVE-2026-23359

Indicators of Compromise

  • Unexpected kernel crashes or panics during network packet processing
  • System instability when packet traffic is directed to devices with multiple macvlan interfaces
  • Kernel oops messages referencing BPF devmap or XDP redirect functions
  • Stack corruption errors in kernel logs related to network subsystems

Detection Strategies

  • Monitor for unusual numbers of macvlan interfaces being created on systems with XDP programs attached
  • Implement kernel-level monitoring for stack corruption or buffer overflow attempts in the BPF subsystem
  • Review network interface configurations for deployments exceeding 8 macvlan interfaces per device

Monitoring Recommendations

  • Enable kernel address sanitizer (KASAN) in development and testing environments to detect out-of-bounds writes
  • Configure alerts for kernel panic events that reference BPF, devmap, or XDP components
  • Monitor system call patterns for suspicious sequences of interface creation followed by packet injection

How to Mitigate CVE-2026-23359

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the bounds checking fix
  • Limit the number of macvlan interfaces to fewer than 8 per device until patching is complete
  • Review and audit XDP program deployments that use BPF_F_BROADCAST | BPF_F_EXCLUDE_INGRESS flags

Patch Information

The vulnerability has been resolved in the Linux kernel through multiple commits that add a max parameter to get_upper_ifindexes() to enforce proper bounds checking. The fix ensures that when too many upper devices exist, the function returns -EOVERFLOW and aborts the redirect operation safely.

Patches are available through the following kernel git commits:

  • Kernel Git Commit 5000e40
  • Kernel Git Commit 75d4747
  • Kernel Git Commit 8a95fb9
  • Kernel Git Commit b7bf516
  • Kernel Git Commit ca83156
  • Kernel Git Commit d2c31d8

Workarounds

  • Avoid creating more than 8 macvlan interfaces on devices with XDP programs attached
  • Disable XDP programs temporarily if large numbers of macvlan interfaces are required
  • Implement network segmentation to reduce the need for multiple macvlan interfaces on single devices
bash
# Check current macvlan interface count on a device
ip link show type macvlan | grep -c "link/"

# List all XDP programs attached to interfaces
ip link show | grep xdp

# Temporarily remove XDP program from an interface (if needed as workaround)
ip link set dev <interface> xdp off

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

  • Kernel Git Commit Change

  • Kernel Git Commit Change

  • Kernel Git Commit Change

  • Kernel Git Commit Change

  • Kernel Git Commit Change
  • Related CVEs
  • CVE-2026-23397: Linux Kernel Buffer Overflow Vulnerability

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

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

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