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

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

CVE-2026-23209 is a use-after-free flaw in the Linux kernel macvlan component that can crash the system when creating invalid macvlan links. This article covers the technical details, affected systems, and patches.

Published: February 20, 2026

CVE-2026-23209 Overview

A use-after-free vulnerability has been discovered in the Linux kernel's macvlan networking subsystem, specifically in the error recovery path of the macvlan_common_newlink() function. This vulnerability occurs when creating a new macvlan link with MACVLAN_MODE_SOURCE mode fails during device registration, but source MAC address entries have already been added to the port's hash table. The improper cleanup leads to dangling references that can be triggered during subsequent network traffic processing.

Critical Impact

Local attackers can trigger a kernel crash or potentially achieve code execution by exploiting use-after-free conditions in the macvlan driver when processing packets with matching source MAC addresses after a failed link creation attempt.

Affected Products

  • Linux kernel (macvlan subsystem)
  • Systems using macvlan network virtualization
  • Container and virtualization platforms utilizing macvlan interfaces

Discovery Timeline

  • February 14, 2026 - CVE-2026-23209 published to NVD
  • February 18, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23209

Vulnerability Analysis

The vulnerability exists in the error recovery logic of macvlan_common_newlink(), which handles the creation of new macvlan network interfaces. When a macvlan link is created with MACVLAN_MODE_SOURCE mode along with MACVLAN_MACADDR_ADD or MACVLAN_MACADDR_SET parameters, the function calls macvlan_hash_add_source() through macvlan_change_sources() to add a reference to the new vlan structure in the port's vlan_source_hash table.

The critical issue arises when register_netdevice() subsequently fails—for example, due to an invalid interface name containing illegal characters. When this failure occurs, the error handling path in rtnl_newlink_create() calls free_netdev() to clean up the allocated network device structure. However, the source hash entry referencing this device is not removed before the memory is freed.

This leaves a dangling pointer in the vlan_source_hash table. When network packets are later processed through the macvlan port with source MAC addresses matching the orphaned entries, macvlan_forward_source() attempts to access the freed memory, resulting in a use-after-free condition.

Root Cause

The root cause is insufficient cleanup in the error handling path of macvlan_common_newlink(). The function adds source MAC address entries to the port's hash table via macvlan_hash_add_source() before device registration is complete. When registration fails, the existing code path did not consistently call macvlan_flush_sources() to remove these entries before the vlan structure was freed. The fix ensures macvlan_flush_sources() is called regardless of the @create parameter value whenever the goto destroy_macvlan_port; error path is taken.

Attack Vector

An attacker with local access and the ability to create network interfaces (typically requiring CAP_NET_ADMIN capability or root privileges) can exploit this vulnerability through the following sequence:

  1. Create a veth pair and configure MAC addresses on the interfaces
  2. Bring up both interfaces in the veth pair
  3. Create an initial macvlan interface on one of the veth interfaces
  4. Attempt to create a second macvlan interface with an invalid name (containing characters like %) while also adding a source MAC address
  5. The device registration fails due to the invalid name, but the source hash entry remains
  6. Send network traffic through the veth interface with the matching source MAC address
  7. The kernel attempts to access freed memory in macvlan_forward_source(), causing a crash or potential code execution

The vulnerability can be triggered using standard ip link commands to create the network configuration and simple ping traffic to trigger the use-after-free condition.

Detection Methods for CVE-2026-23209

Indicators of Compromise

  • Kernel panic or oops messages referencing macvlan_forward_source() or related macvlan functions
  • Unexpected system crashes or reboots on systems using macvlan networking
  • Memory corruption indicators in kernel logs related to network subsystem operations
  • Suspicious creation of macvlan interfaces with invalid names followed by network traffic

Detection Strategies

  • Monitor kernel logs for use-after-free crash signatures involving macvlan driver components
  • Implement auditd rules to track network interface creation operations, particularly those using macvlan with source mode
  • Deploy kernel memory sanitizers (KASAN) in development/testing environments to detect memory safety violations
  • Monitor for failed register_netdevice() calls followed by network traffic patterns

Monitoring Recommendations

  • Enable kernel crash dump collection to capture detailed information for post-incident analysis
  • Configure syslog monitoring for kernel warnings and errors related to networking subsystems
  • Implement alerting on unexpected system reboots or kernel crashes on network-intensive systems

How to Mitigate CVE-2026-23209

Immediate Actions Required

  • Apply the official kernel patches as soon as they are available for your distribution
  • Restrict access to network namespace and interface creation capabilities to trusted users only
  • Review and audit which users and processes have CAP_NET_ADMIN capability
  • Consider temporarily disabling macvlan source mode if not required for operations

Patch Information

The Linux kernel maintainers have released fixes across multiple stable branches. The patches ensure that macvlan_flush_sources() is properly called during error recovery to clean up hash table entries before memory is freed. The following kernel commits address this vulnerability:

  • Kernel Git Change 11ba9f0
  • Kernel Git Change 5dae6b3
  • Kernel Git Change 986967a
  • Kernel Git Change c43d0e7
  • Kernel Git Change cdedcd5
  • Kernel Git Change da5c6b8
  • Kernel Git Change f8db647

Update your kernel to the latest patched version from your distribution's package repository.

Workarounds

  • Restrict the CAP_NET_ADMIN capability to prevent untrusted users from creating network interfaces
  • Use kernel security modules (SELinux, AppArmor) to limit which processes can create macvlan interfaces
  • Monitor and control network namespace creation in container environments
  • If macvlan source mode is not required, consider using alternative macvlan modes or different network virtualization approaches
bash
# Configuration example
# Restrict network namespace and interface creation capabilities
# Remove CAP_NET_ADMIN from non-essential users and services

# Check which processes have CAP_NET_ADMIN
getpcaps $(pgrep -f "your_process")

# Use capabilities to drop CAP_NET_ADMIN from specific binaries
setcap -r /path/to/binary

# Example: Audit network interface creation attempts
auditctl -a always,exit -F arch=b64 -S clone -S unshare -F a0\&0x40000000 -k netns_creation

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 Change 11ba9f0

  • Kernel Git Change 5dae6b3

  • Kernel Git Change 986967a

  • Kernel Git Change c43d0e7

  • Kernel Git Change cdedcd5

  • Kernel Git Change da5c6b8

  • Kernel Git Change f8db647
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

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

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

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