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
    • 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-31709

CVE-2026-31709: Linux Kernel Privilege Escalation Flaw

CVE-2026-31709 is a privilege escalation vulnerability in the Linux Kernel SMB client that allows malicious servers to exploit DACL validation weaknesses. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-31709 Overview

CVE-2026-31709 is a Linux kernel vulnerability in the SMB (Server Message Block) client code that handles cifsacl security descriptor processing. The flaw resides in build_sec_desc() and id_mode_to_cifs_acl(), which derive a Discretionary Access Control List (DACL) pointer from a server-supplied dacloffset and rebuild the chmod/chown security descriptor without sufficient structural validation. A malicious SMB server can return a truncated DACL whose header claims one or more Access Control Entries (ACEs), driving the rewrite helpers past the validated extent. The vulnerability affects the Linux kernel SMB client and was resolved by introducing a shared validate_dacl() helper used by both read-side and write-side paths.

Critical Impact

A malicious SMB server can trigger out-of-bounds memory access in the Linux kernel client during chmod or chown operations, potentially leading to memory corruption, information disclosure, or denial of service.

Affected Products

  • Linux Kernel (SMB client subsystem, cifsacl mount option)
  • Distributions shipping vulnerable kernel versions prior to the fix commits
  • Systems mounting SMB/CIFS shares with cifsacl enabled

Discovery Timeline

  • 2026-05-01 - CVE-2026-31709 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-31709

Vulnerability Analysis

The vulnerability exists in the Linux kernel SMB client's handling of incoming DACL structures returned by a remote server. The functions build_sec_desc() and id_mode_to_cifs_acl() use a server-supplied dacloffset value to locate a DACL within the security descriptor buffer, then iterate ACEs based on the pdacl->num_aces field. An earlier fix validated only that the struct smb_acl header fits within the buffer before reading dacl_ptr->size or dacl_ptr->num_aces. That partial fix prevented header-field out-of-bounds reads but did not validate the DACL body. The rewrite helpers replace_sids_and_copy_aces() and set_chmod_dacl() continued to walk ACEs without checking each entry against the actual buffer extent.

Root Cause

The root cause is incomplete input validation [CWE-noinfo] of attacker-controlled SMB protocol data. The kernel trusted the num_aces count without verifying that each ACE structure fits within the DACL bounds. A truncated DACL containing a valid header but missing ACE bodies bypassed bounds checking during the chmod and chown rebuild paths.

Attack Vector

An attacker who controls or impersonates an SMB server can craft a malicious response containing a security descriptor with a truncated DACL. When a Linux client mounts the share with the cifsacl option and performs chmod or chown operations, the kernel parses the malicious DACL and reads or copies attacker-controlled bytes past the validated extent. Exploitation requires user interaction in the form of accessing the malicious share, consistent with the network-based attack profile of this vulnerability.

The vulnerability manifests during ACE iteration in the rewrite helpers. See the upstream patch commits for technical details on the structural checks added in validate_dacl().

Detection Methods for CVE-2026-31709

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing cifs, smb, build_sec_desc, id_mode_to_cifs_acl, replace_sids_and_copy_aces, or set_chmod_dacl
  • Kernel log entries showing memory access faults during SMB chmod or chown operations
  • Connections from Linux clients to untrusted or unexpected SMB servers, particularly with cifsacl mount options
  • Anomalous SMB traffic patterns where servers return malformed security descriptors

Detection Strategies

  • Monitor dmesg and /var/log/kern.log for crashes or warnings originating in the fs/smb/client/cifsacl.c code path
  • Inspect mount tables for cifsacl usage and correlate with destination server reputation
  • Capture SMB session traffic and validate DACL structural integrity in security descriptor responses
  • Track kernel version inventory across the fleet and flag hosts running unpatched kernel builds

Monitoring Recommendations

  • Audit mount.cifs invocations and SMB client mount events through endpoint telemetry
  • Alert on outbound SMB connections to non-corporate destinations from Linux servers and workstations
  • Correlate kernel crash dumps with SMB activity windows to identify exploitation attempts
  • Maintain centralized syslog collection for kernel messages from all CIFS client hosts

How to Mitigate CVE-2026-31709

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the Kernel Patch Proposal and Kernel Commit Notice once available in your distribution
  • Inventory all Linux hosts mounting SMB shares with the cifsacl option
  • Restrict SMB client connections to trusted, authenticated servers within the organization
  • Update to the latest stable kernel release containing the validate_dacl() fix

Patch Information

The fix factors DACL structural checks into a new validate_dacl() helper that validates each ACE against DACL bounds. The parse_dacl() read path and the chmod/chown write paths now share the same validator, ensuring consistent enforcement. See the Kernel Change Announcement for the upstream commit details.

Workarounds

  • Mount SMB shares without the cifsacl option until the patch is deployed, falling back to standard POSIX permission emulation
  • Block outbound SMB traffic (TCP 445) to untrusted networks at the host or perimeter firewall
  • Restrict SMB client mounts to specific allow-listed servers using firewall rules or network segmentation
  • Disable automatic mounting of SMB shares via autofs or systemd unit files where feasible
bash
# Configuration example: remove cifsacl from /etc/fstab entries
# Before:
# //server/share /mnt/share cifs credentials=/etc/smb.cred,cifsacl 0 0
# After:
//server/share /mnt/share cifs credentials=/etc/smb.cred,noperm 0 0

# Verify current kernel version
uname -r

# Block outbound SMB to non-trusted ranges (example with iptables)
iptables -A OUTPUT -p tcp --dport 445 -d 0.0.0.0/0 -j DROP
iptables -I OUTPUT -p tcp --dport 445 -d 10.0.0.0/8 -j ACCEPT

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Kernel Change Announcement
  • Vendor Resources
  • Kernel Patch Proposal

  • Kernel Commit Notice
  • Related CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

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

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

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