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

CVE-2026-43158: Linux Kernel Privilege Escalation Flaw

CVE-2026-43158 is a privilege escalation vulnerability in the Linux kernel's XFS filesystem that causes freemap corruption when adding extended attributes to leaf blocks, potentially leading to system compromise.

Published: May 7, 2026

CVE-2026-43158 Overview

CVE-2026-43158 is a Linux kernel vulnerability in the XFS filesystem's extended attribute (xattr) handling code. The flaw resides in the leaf block freemap adjustment logic invoked when adding xattrs to leaf blocks. Inconsistent freemap entries cause the entries array and free space tracking to overlap, triggering a kernel assertion in xfs_attr3_leaf_add_work and shutting down the filesystem. The issue was reproduced through the xfs/592 and xfs/794 regression tests, as well as fsstress workloads setting local extended attributes with specific name and value lengths.

Critical Impact

A local user able to create extended attributes on an XFS filesystem can trigger a kernel assertion that shuts down the filesystem, resulting in denial of service.

Affected Products

  • Linux kernel versions containing the XFS xattr leaf block freemap adjustment code prior to the referenced fix commits
  • Distributions shipping vulnerable Linux kernels with XFS support enabled
  • Systems using XFS as the filesystem for workloads that create extended attributes

Discovery Timeline

  • 2026-05-06 - CVE-2026-43158 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-43158

Vulnerability Analysis

The vulnerability lives in the XFS code path that adjusts the freemap array inside an extended attribute leaf block when a new xattr is added. The freemap array does not track every free byte in the leaf block; it tracks selected free regions. When the entries array grows to accommodate a new xattr entry, the code fails to update all freemap entries to reflect the new boundary of the entries array.

Under a workload that sets a local xattr with namelen=3 and valuelen=71 (an 80-byte entry), the freemap can end up reporting free space at a base offset that overlaps the entries array. The result is that the computed name area starts below the end of the entries array, violating the invariant ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) + xfs_attr3_leaf_hdr_size(leaf) and tripping the assertion.

Root Cause

The root cause is incomplete maintenance of the freemap array when the xattr entries array grows. After adding an entry, only a subset of freemap slots is updated, leaving stale base values that point into the region now occupied by the entries array. Subsequent allocations consume bytes from a region that is no longer free, producing a firstused value that violates the leaf block layout invariant. The fix relies on the prior commit 2a2b5932db6758 ("xfs: fix attr leaf header freemap.size underflow") and a preceding patch that resets zero-length freemap entries to base = 0.

Attack Vector

Exploitation requires local access and the ability to create extended attributes on an XFS filesystem. An attacker repeatedly setting xattrs with specific name and value lengths can drive the freemap into the inconsistent state. When the assertion fires, the kernel shuts the filesystem down, denying service to all users of that filesystem until remount or reboot. The issue is not described as enabling memory corruption beyond the leaf block bookkeeping shutdown.

No verified proof-of-concept code is published. The Linux kernel fsstress test tool reproduces the condition within roughly 20 minutes on test virtual machines. See the Kernel Git Commit Fix for the corrected freemap adjustment logic.

Detection Methods for CVE-2026-43158

Indicators of Compromise

  • Kernel log entries reporting the assertion ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t) + xfs_attr3_leaf_hdr_size(leaf)) from XFS code paths.
  • XFS filesystem shutdowns recorded in dmesg with messages referencing xfs_attr3_leaf_add_work or attribute leaf corruption.
  • Unexpected XFS: Corruption detected or Filesystem has been shut down events on systems with active xattr workloads.

Detection Strategies

  • Monitor kernel ring buffer and journalctl -k output for XFS assertion failures and forced shutdowns.
  • Compare running kernel build IDs against the fix commits listed in the kernel.org references to identify hosts still running vulnerable code.
  • Track abnormal filesystem unmount or remount events on XFS volumes hosting workloads that heavily use extended attributes (for example, SELinux labels, Samba ACLs).

Monitoring Recommendations

  • Forward kernel logs from Linux endpoints to a centralized logging or SIEM platform and alert on XFS shutdown messages.
  • Maintain an inventory of kernel versions across the fleet and flag hosts that have not yet absorbed the stable kernel update.
  • Track local user processes that issue large volumes of setxattr syscalls against XFS-backed paths.

How to Mitigate CVE-2026-43158

Immediate Actions Required

  • Apply the stable kernel update that includes the XFS xattr leaf freemap fix and reboot affected hosts.
  • Identify XFS volumes that host untrusted local workloads and prioritize them for patching.
  • Review backup and snapshot policies for XFS volumes to enable rapid recovery if a filesystem shutdown occurs before patching completes.

Patch Information

The fix is distributed across multiple stable kernel branches. Reference commits include 24ce71852f2c, 38613c01f69e, 3eefc0c2b784, 43f3b1867961, 6a8737afbccc, a396b3d73d51, d08976725355, and ef42a8766ff3. Apply the kernel update provided by your Linux distribution that incorporates these commits.

Workarounds

  • Restrict local user access on systems running unpatched kernels to reduce the population of users who can create xattrs on XFS volumes.
  • Where feasible, limit workloads that create large numbers of extended attributes on XFS until the patched kernel is deployed.
  • Ensure XFS filesystems can be remounted without service interruption by validating recovery procedures in advance.
bash
# Verify running kernel and check for XFS assertion events
uname -r
dmesg | grep -i -E 'xfs_attr3_leaf_add_work|XFS.*shutdown|xfs.*ASSERT'
journalctl -k --since "7 days ago" | grep -i xfs

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 Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit Fix

  • Kernel Git Commit Change

  • Kernel Git Commit Update

  • Kernel Git Commit Enhancement

  • Kernel Git Commit Update

  • Kernel Git Commit Fix

  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-52906: Linux Kernel Privilege Escalation Flaw

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

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

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