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

CVE-2026-23404: Linux Kernel AppArmor DoS Vulnerability

CVE-2026-23404 is a denial of service flaw in Linux kernel AppArmor caused by recursive profile removal leading to stack exhaustion. This article covers the technical details, affected systems, and mitigation steps.

Published: April 2, 2026

CVE-2026-23404 Overview

A stack exhaustion vulnerability has been identified in the Linux kernel's AppArmor security module. The profile removal code uses recursion when removing nested profiles, which can lead to kernel stack exhaustion and system crashes. This vulnerability affects the __aa_profile_list_release() function, where deeply nested security profiles can trigger unbounded recursive calls during removal operations.

Critical Impact

Local attackers can cause kernel stack exhaustion leading to system crashes and denial of service by creating deeply nested AppArmor profiles and triggering their removal.

Affected Products

  • Linux kernel with AppArmor security module enabled
  • Systems using AppArmor for mandatory access control
  • Linux distributions with default AppArmor configurations

Discovery Timeline

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

Technical Details for CVE-2026-23404

Vulnerability Analysis

The vulnerability exists in the AppArmor security module's profile management code within the Linux kernel. When security profiles are organized in a nested hierarchy and subsequently removed, the kernel uses a recursive function __aa_profile_list_release() to traverse and remove each profile in the tree structure.

The recursive approach becomes problematic when dealing with deeply nested profile hierarchies. Each recursive call consumes kernel stack space, and the kernel stack is strictly limited (typically 8KB or 16KB depending on architecture). An attacker can create thousands of nested profiles, and when attempting to remove the root profile, the recursive removal process exhausts the available kernel stack space.

The fix replaces the recursive approach with an iterative algorithm in the __remove_profile() function. This iterative method repeatedly finds and removes leaf profiles from the profile tree until the entire subtree is removed, maintaining the same removal semantics without the stack consumption risks of recursion.

Root Cause

The root cause is the use of unbounded recursion in the __aa_profile_list_release() function when processing nested AppArmor profile hierarchies. The kernel stack has fixed limits, and the recursive implementation does not account for scenarios where profile nesting depth exceeds stack capacity. This design flaw allows local users to trigger stack overflow conditions through legitimate kernel interfaces.

Attack Vector

The attack requires local access and the ability to load AppArmor profiles. An attacker can exploit this vulnerability by:

  1. Creating deeply nested AppArmor profiles using apparmor_parser with the compile-and-add flags
  2. Triggering profile removal through the /sys/kernel/security/apparmor/.remove interface
  3. Causing kernel stack exhaustion during the recursive removal process

The vulnerability can be triggered with approximately 1024 nested profiles to reliably exhaust the kernel stack. The attack does not require elevated privileges beyond the ability to manage AppArmor profiles, which may be available to certain system users or containers depending on the system configuration.

Detection Methods for CVE-2026-23404

Indicators of Compromise

  • Unexpected system crashes or kernel panics with stack overflow messages
  • Large numbers of deeply nested AppArmor profiles visible in /sys/kernel/security/apparmor/profiles
  • Unusual activity involving apparmor_parser with profile creation loops
  • System log entries indicating stack exhaustion in AppArmor-related kernel functions

Detection Strategies

  • Monitor for kernel panic events with stack traces containing AppArmor functions like __aa_profile_list_release or __remove_profile
  • Implement alerts for unusual patterns of AppArmor profile creation, especially rapid sequential profile additions
  • Use kernel tracing tools to detect excessive recursion depth in security module operations
  • Deploy EDR solutions capable of detecting denial-of-service attack patterns targeting kernel subsystems

Monitoring Recommendations

  • Enable kernel crash dump collection to capture diagnostic information from stack exhaustion events
  • Configure auditd rules to monitor access to /sys/kernel/security/apparmor/.remove and apparmor_parser execution
  • Implement rate limiting or quotas for AppArmor profile creation where possible
  • Review SentinelOne's kernel protection capabilities for detecting and preventing stack-based attacks

How to Mitigate CVE-2026-23404

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the iterative profile removal fix
  • Review and limit permissions for AppArmor profile management to trusted administrators only
  • Monitor systems for signs of exploitation attempts or unusual AppArmor profile activity
  • Consider temporarily restricting access to AppArmor management interfaces on critical systems

Patch Information

The Linux kernel maintainers have released patches that replace the recursive profile removal approach with an iterative implementation. The fix is available through multiple kernel change log entries:

  • Kernel Commit 33959a491e9f
  • Kernel Commit 7eade846e013
  • Kernel Commit 999bd704b0b6
  • Kernel Commit a6a941a1294a
  • Kernel Commit ab09264660f9

Apply the appropriate patch for your kernel version through your Linux distribution's package manager or by compiling from source with the fix applied.

Workarounds

  • Restrict access to AppArmor profile management interfaces by limiting write permissions to /sys/kernel/security/apparmor/.remove
  • Implement administrative controls to prevent unauthorized users from loading AppArmor profiles with apparmor_parser
  • Monitor and limit the maximum depth of nested profiles through policy or administrative procedures
  • Consider using SELinux or other MAC systems as alternatives if AppArmor cannot be patched immediately
bash
# Restrict access to AppArmor removal interface
chmod 600 /sys/kernel/security/apparmor/.remove
chown root:root /sys/kernel/security/apparmor/.remove

# Audit AppArmor management activity
auditctl -w /sys/kernel/security/apparmor/.remove -p w -k apparmor_remove
auditctl -w /usr/sbin/apparmor_parser -p x -k apparmor_parser_exec

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry

  • Kernel Change Log Entry
  • Related CVEs
  • CVE-2026-23405: Linux Kernel AppArmor DOS Vulnerability

  • CVE-2026-23398: Linux Kernel ICMP DoS Vulnerability

  • CVE-2026-23312: Linux Kernel Kaweth Driver DoS Vulnerability

  • CVE-2026-23382: Linux Kernel HID Driver DoS Vulnerability
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