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

CVE-2026-46238: Linux Kernel Privilege Escalation Flaw

CVE-2026-46238 is a privilege escalation vulnerability in the Linux kernel's batman-adv component that affects originator pointer handling. This article covers technical details, affected versions, and mitigations.

Published: May 28, 2026

CVE-2026-46238 Overview

CVE-2026-46238 is a Linux kernel vulnerability in the batman-adv mesh networking module. The flaw resides in the BAT IV routing protocol implementation, which cached an originator pointer derived from a temporary lookup inside the neigh_node structure. The cached pointer was not owned by the neigh_node and could reference a freed originator entry after purge handling executed. This creates a stale pointer condition affecting kernel memory safety in mesh networking deployments.

Critical Impact

A stale originator pointer in BAT IV neighbor state can be dereferenced after the underlying originator entry is purged, leading to potential use-after-free conditions in the Linux kernel networking stack.

Affected Products

  • Linux kernel batman-adv module (BAT IV routing protocol)
  • Linux distributions shipping affected kernel versions prior to the upstream fix
  • Mesh networking deployments using B.A.T.M.A.N. Advanced

Discovery Timeline

  • 2026-05-28 - CVE-2026-46238 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-46238

Vulnerability Analysis

The batman-adv (Better Approach To Mobile Ad-hoc Networking, Advanced) kernel module implements layer-2 mesh routing for Linux. The BAT IV variant maintains routing state through neigh_node structures that track the last-hop neighbor address for each route. Beyond the neighbor address, some code paths additionally cached an auxiliary pointer to the originator entry obtained through a temporary lookup.

The neigh_node did not own a reference on this cached originator pointer. When the originator purge logic removed the corresponding entry, the cached pointer in the neighbor state became stale. Subsequent dereferences of this pointer access memory that may have been freed or reallocated, producing classic use-after-free behavior [CWE-416].

The upstream fix removes the auxiliary originator pointer from BAT IV neighbor state. When the originator data is required, the code now resolves it from the stored neighbor address and drops the reference immediately after use. A secondary change avoids invoking bonding logic for outgoing OGM (Originator Message) traffic.

Root Cause

The root cause is improper lifetime management of an unowned pointer. The BAT IV neighbor structure stored a raw pointer to an originator object without holding a reference count, while the originator's lifecycle was controlled independently by the purge subsystem.

Attack Vector

Exploitation requires the target to process batman-adv mesh traffic. An attacker with the ability to inject or influence OGM traffic on a mesh network could potentially trigger the conditions where originator entries are purged while neighbor state retains the stale pointer. Refer to the upstream commits for the precise code paths involved.

Detection Methods for CVE-2026-46238

Indicators of Compromise

  • Kernel oops or panic messages referencing batman-adv functions in the call trace
  • KASAN (Kernel Address Sanitizer) reports flagging use-after-free in batadv_iv_* routines
  • Unexpected interface or mesh routing instability on hosts running batman-adv

Detection Strategies

  • Audit running kernel versions against the patched commits referenced in the upstream stable tree
  • Enable KASAN on test kernels to surface use-after-free conditions in batman-adv code paths
  • Inventory hosts loading the batman_adv kernel module via lsmod or equivalent telemetry

Monitoring Recommendations

  • Collect dmesg and /var/log/kern.log entries and alert on batman-adv kernel warnings
  • Monitor for unexpected module loads of batman_adv on systems where mesh networking is not expected
  • Track kernel package versions across the fleet to confirm patch deployment status

How to Mitigate CVE-2026-46238

Immediate Actions Required

  • Identify systems with the batman_adv module loaded and prioritize them for patching
  • Apply the upstream kernel patches referenced in the stable tree commits as soon as vendor builds are available
  • On systems that do not require mesh networking, unload and blacklist the batman_adv module

Patch Information

The fix is published in the upstream Linux stable tree across the following commits: Kernel Git Commit 09dc0d1, Kernel Git Commit 67bceeb, Kernel Git Commit 6e20700, Kernel Git Commit aafcbaf, and Kernel Git Commit f03e858. Track your Linux distribution's security advisories for backported kernel package releases.

Workarounds

  • Blacklist the batman_adv module on hosts that do not require mesh networking
  • Restrict physical and logical access to mesh network segments to trusted devices only
  • Where mesh routing is required, consider switching to BAT V until patched kernels are deployed
bash
# Configuration example: blacklist batman-adv on systems that do not require it
echo 'blacklist batman_adv' | sudo tee /etc/modprobe.d/blacklist-batman-adv.conf
sudo modprobe -r batman_adv
lsmod | grep batman_adv

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 09dc0d1

  • Kernel Git Commit 67bceeb

  • Kernel Git Commit 6e20700

  • Kernel Git Commit aafcbaf

  • Kernel Git Commit f03e858
  • Related CVEs
  • CVE-2026-46231: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-46209: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43347: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43289: Linux Kernel Privilege Escalation Flaw
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