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

CVE-2026-31392: Linux Kernel Kerberos Auth Bypass Flaw

CVE-2026-31392 is an authentication bypass flaw in the Linux kernel SMB client that allows incorrect credential reuse during Kerberos mounts. This article covers technical details, affected versions, and fixes.

Updated: May 16, 2026

CVE-2026-31392 Overview

CVE-2026-31392 is a Linux kernel vulnerability in the SMB client implementation. The flaw affects how the kernel handles Kerberos (krb5) mounts when paired with the username= mount option. The SMB client incorrectly reuses an existing SMB session from a prior mount instead of authenticating with the credentials specified for the new mount. This causes subsequent mounts to operate under the wrong principal, breaking authentication isolation between mount points on the same server.

Critical Impact

A local user with mount privileges can cause SMB shares to be accessed under a different Kerberos principal than requested, leading to unauthorized access to data and integrity issues across mounted shares.

Affected Products

  • Linux kernel SMB client (fs/smb/client) with sec=krb5 and username= mount options
  • Systems using cifs-utils 4.8 or later with cifs.upcall(8) keytab principal lookup
  • Distributions shipping affected stable kernel branches prior to the referenced fix commits

Discovery Timeline

  • 2026-04-03 - CVE-2026-31392 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-31392

Vulnerability Analysis

The vulnerability resides in the SMB client session matching logic inside match_session(). When the kernel mounts an SMB share, it attempts to reuse existing SMB sessions to the same server for efficiency. The matching function did not factor the username= mount option into its comparison when sec=krb5 was in use. As a result, two mounts targeting the same server with different username= values would share a single SMB session bound to whichever principal authenticated first.

The practical effect is credential confusion. A second mount specifying username=foobar with no matching keytab principal should fail with -ENOKEY. Instead, it succeeds by piggybacking on the first mount's session as testuser. This breaks the security boundary that administrators expect when separating mount points by identity.

Root Cause

Support for resolving Kerberos principals from a keytab using the username= option was added to cifs.upcall(8) in cifs-utils-4.8. The kernel-side session matcher was not updated to treat username= as a distinguishing attribute when sec=krb5 was specified. The fix adds username comparison to match_session() so Kerberos-authenticated sessions are no longer pooled across different principal identities.

Attack Vector

Exploitation requires local privileges sufficient to invoke mount.cifs against an SMB server. An attacker or unprivileged process able to trigger mounts can cause shares to be accessed under credentials belonging to a previously mounted user. This results in scope change because operations performed on the second mount carry the authority of the first principal, affecting confidentiality and integrity of data on the SMB server.

The vulnerability is described in prose because the upstream fix is a kernel patch rather than a reproducible exploit. See the kernel commits 12b4c5d, 6e9ff1e, 9229709, 9ee803b, d33cbf0, and fd45478 for the canonical fix.

Detection Methods for CVE-2026-31392

Indicators of Compromise

  • SMB mounts where mount -t cifs output shows a username= value that differs from the principal recorded in SMB server access logs.
  • Successful access to SMB shares from a host whose keytab (/etc/krb5.keytab) lacks the principal named in the mount command.
  • Multiple concurrent CIFS mounts to the same server with distinct username= options resolving to a single SMB session ID in /proc/fs/cifs/DebugData.

Detection Strategies

  • Audit kernel and cifs-utils versions across Linux fleet to identify hosts running pre-patch kernels with cifs-utils >= 4.8.
  • Cross-reference mount tables with SMB server authentication logs to detect mismatches between requested username= and the principal that authenticated.
  • Monitor auditd for mount syscalls invoking sec=krb5,username= and correlate against expected mount baselines.

Monitoring Recommendations

  • Enable verbose CIFS logging through /proc/fs/cifs/cifsFYI in test environments to confirm session reuse behavior.
  • Forward SMB server-side Kerberos authentication events to a centralized log platform for correlation with client mount telemetry.
  • Alert on repeated successful mounts to the same server with varying username= values from a single host within a short interval.

How to Mitigate CVE-2026-31392

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the stable tree commits as soon as vendor builds are available.
  • Inventory Linux hosts using CIFS/SMB mounts with sec=krb5 and prioritize patching multi-tenant or shared systems.
  • Restrict mount privileges to trusted administrators until patches are deployed.

Patch Information

The fix updates match_session() in the SMB client to include the username= mount option in comparison logic even when Kerberos authentication is in use. Reference commits: Kernel Git Commit 12b4c5d, Kernel Git Commit 6e9ff1e, Kernel Git Commit 9229709, Kernel Git Commit 9ee803b, Kernel Git Commit d33cbf0, and Kernel Git Commit fd45478.

Workarounds

  • Avoid mounting multiple SMB shares from the same server with differing username= values on the same client until the kernel is patched.
  • Where multiple identities are required, mount from separate hosts or unmount existing sessions before initiating a mount under a different principal.
  • Validate keytab contents with klist -ke /etc/krb5.keytab and only mount with principals known to exist in the keytab to reduce silent credential reuse.
bash
# Verify SMB session reuse behavior on a host
cat /proc/fs/cifs/DebugData | grep -E 'SessionId|User'

# Unmount existing CIFS sessions before re-mounting under a new principal
umount /mnt/1 && umount /mnt/2
mount.cifs //server/share /mnt/1 -o sec=krb5,username=testuser

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLinux

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • Technical References
  • Kernel Git Commit 12b4c5d

  • Kernel Git Commit 6e9ff1e

  • Kernel Git Commit 9229709

  • Kernel Git Commit 9ee803b

  • Kernel Git Commit d33cbf0

  • Kernel Git Commit fd45478
  • Related CVEs
  • CVE-2026-46244: Linux Kernel Auth Bypass Vulnerability

  • CVE-2026-42177: Linux Entra SSO Auth Bypass Vulnerability

  • CVE-2026-31717: Linux Kernel Auth Bypass Vulnerability

  • CVE-2025-1143: Billion Electric Router Auth Bypass 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