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

CVE-2026-23406: Linux Kernel Buffer Overflow Vulnerability

CVE-2026-23406 is a buffer overflow flaw in the Linux kernel's AppArmor match_char() macro that causes out-of-bounds reads. This article covers the technical details, affected systems, and mitigation strategies.

Updated: May 16, 2026

CVE-2026-23406 Overview

CVE-2026-23406 is an out-of-bounds read vulnerability [CWE-125] in the Linux kernel's AppArmor Linux Security Module (LSM). The flaw resides in the match_char() macro, which evaluates its character parameter multiple times when traversing differential encoding chains in the Deterministic Finite Automaton (DFA) matching code. When invoked with *str++, the string pointer advances on each iteration of the inner do-while loop. The result is an out-of-bounds read past the input buffer boundary inside aa_dfa_match(), triggered through standard file-open operations evaluated by apparmor_file_open().

Critical Impact

A local user can trigger kernel out-of-bounds reads via file operations subject to AppArmor policy evaluation, potentially leaking kernel memory or crashing the system.

Affected Products

  • Linux Kernel (multiple stable branches prior to the fix commits)
  • Linux Kernel 4.17 and certain 7.0 release candidates (rc1 through rc7)
  • Distributions shipping AppArmor-enabled kernels (Ubuntu, Debian, SUSE, and derivatives)

Discovery Timeline

  • 2026-04-01 - CVE-2026-23406 published to NVD
  • 2026-04-24 - Last updated in NVD database

Technical Details for CVE-2026-23406

Vulnerability Analysis

The vulnerability is an out-of-bounds read in the AppArmor DFA matching engine. AppArmor evaluates path and file access requests by walking a compiled DFA representing the loaded security profile. The match_char() macro implements a fast inner loop for traversing differential encoding chains within DFA state transitions.

The macro takes a character parameter and references it more than once inside its expansion. When callers pass an expression with side effects such as *str++, each macro-internal reference re-evaluates the expression. The pointer increments multiple times per logical character, so the DFA compares unrelated bytes and advances past the end of the input buffer. KASAN reports a slab-out-of-bounds read of size 1 in aa_dfa_match+0x5ae/0x760, reached through apparmor_file_open() → aa_path_perm() → __aa_path_perm().

Root Cause

The root cause is unsafe macro design combined with caller misuse. match_char() is implemented as a C preprocessor macro rather than an inline function, and it references its argument more than once. Passing *str++ produces multiple pointer increments per invocation, breaking the loop invariant that the DFA advances one input character per outer iteration.

Attack Vector

The attack vector is local. A user with permission to open files under an AppArmor-confined process can craft path names that drive the DFA into differential encoding chains where the bug manifests. Exploitation requires no special privileges beyond local code execution under a confined profile. The kernel reads memory outside the intended buffer, which can leak adjacent slab contents to in-kernel decision logic or trigger a fault leading to denial of service. The fix extracts the character value into a local variable before invoking match_char(), ensuring single evaluation per outer loop iteration.

No public proof-of-concept exploit is currently published, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog. The vulnerability mechanism is described in detail across the upstream stable kernel fix commits.

Detection Methods for CVE-2026-23406

Indicators of Compromise

  • Kernel log entries containing KASAN: slab-out-of-bounds in aa_dfa_match on debug or hardened builds.
  • Unexpected Oops, BUG, or general protection faults originating in aa_dfa_match, __aa_path_perm, or apparmor_file_open call paths.
  • Repeated AppArmor audit denials or anomalous policy evaluation failures from a single confined process.

Detection Strategies

  • Inventory running kernel versions across the Linux fleet and correlate against the fixed commit hashes published on git.kernel.org/stable.
  • Enable KASAN on test or canary hosts to surface latent out-of-bounds reads during fuzzing of AppArmor-confined workloads.
  • Monitor dmesg and journalctl -k for AppArmor-related stack traces and forward kernel logs to a centralized analytics pipeline.

Monitoring Recommendations

  • Centralize kernel telemetry and AppArmor audit events into a SIEM or data lake for cross-host correlation of repeated aa_dfa_match faults.
  • Alert on processes that generate high volumes of AppArmor policy evaluations on unusual path patterns, which can indicate fuzzing or targeted probing.
  • Track kernel package versions through endpoint inventory tooling so that unpatched hosts are flagged automatically after each vendor advisory.

How to Mitigate CVE-2026-23406

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced by commits 0510d1b, 1fc94f1, 383b727, 5a184f7, 8756b68, b73c1df, c7dc56d, and f16f2e5 from the stable tree.
  • Update to distribution-supplied kernel packages that incorporate the AppArmor match_char() fix and reboot affected hosts.
  • Audit AppArmor profiles to ensure least-privilege scoping so that any residual exposure has the smallest possible blast radius.

Patch Information

The fix extracts the character value into a local variable before invoking match_char(), ensuring the macro evaluates its argument exactly once per outer loop iteration. The patch has been backported to multiple stable branches. Refer to the Kernel Git Commit 0510d1b and the additional stable backports for the authoritative source change. Consult your Linux distribution's security advisory for the specific package version that contains the fix.

Workarounds

  • Where patching is delayed, restrict local user access on AppArmor-confined systems to reduce the population of actors who can reach the vulnerable code path.
  • Disable AppArmor profiles on non-essential workloads only as a last resort, accepting the loss of confinement until kernels are patched.
  • Deploy endpoint protection such as SentinelOne Singularity Endpoint on Linux hosts to identify post-exploitation behavior should an attacker chain this issue with other vulnerabilities.

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Vendor Resources
  • Kernel Git Commit 0510d1b

  • Kernel Git Commit 1fc94f1

  • Kernel Git Commit 383b727

  • Kernel Git Commit 5a184f7

  • Kernel Git Commit 8756b68

  • Kernel Git Commit b73c1df

  • Kernel Git Commit c7dc56d

  • Kernel Git Commit f16f2e5
  • Related CVEs
  • CVE-2026-46237: Linux Kernel Buffer Overflow Vulnerability

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

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

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