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

CVE-2026-31673: Linux Kernel Information Disclosure Flaw

CVE-2026-31673 is an information disclosure vulnerability in the Linux Kernel affecting the af_unix diagnostic interface. This issue allows potential data exposure during socket operations. Learn about technical details, impact, and fixes.

Updated: May 14, 2026

CVE-2026-31673 Overview

CVE-2026-31673 is a race condition vulnerability in the Linux kernel's af_unix subsystem. The flaw exists in how exact UNIX diagnostic (diag) lookups read UNIX_DIAG_VFS data. Exact UNIX diag lookups hold a reference to the socket but not to u->path, while unix_release_sock() clears u->path under unix_state_lock() and drops the path reference after unlocking. This creates a window where VFS data can be accessed after release. The vulnerability affects multiple Linux kernel versions including the 7.0 release candidate series.

Critical Impact

Local attackers with low privileges can exploit this race condition to compromise confidentiality, integrity, and availability of the affected system through the kernel's UNIX socket diagnostic interface.

Affected Products

  • Linux Kernel (multiple stable branches)
  • Linux Kernel 7.0-rc1 through 7.0-rc7
  • Systems exposing AF_UNIX socket diagnostics via netlink

Discovery Timeline

  • 2026-04-25 - CVE-2026-31673 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-31673

Vulnerability Analysis

The vulnerability resides in the af_unix subsystem responsible for handling UNIX domain sockets in the Linux kernel. The UNIX diag netlink interface allows userspace tools to enumerate and inspect UNIX sockets, including filesystem path information exposed through the UNIX_DIAG_VFS attribute. This attribute contains the inode and device numbers associated with the socket's bound path.

During an exact UNIX diag lookup, the kernel holds a reference to the socket structure but does not acquire a reference to the underlying u->path field. Concurrently, unix_release_sock() can clear u->path while holding unix_state_lock(), then drop the associated path reference after releasing the lock. The diag code path reads VFS metadata outside this protected critical section.

The fix reads the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emits the netlink attribute after dropping the lock. This ensures VFS data remains stable during reply construction.

Root Cause

The root cause is a synchronization defect classified as a race condition between concurrent socket diagnostic reads and socket release operations. The diag lookup path accessed u->path without serializing against unix_release_sock(), which mutates that field under unix_state_lock(). The absence of a held reference on the path during the read window enables use-after-free style memory access patterns on freed VFS structures.

Attack Vector

Exploitation requires local access with low privileges and no user interaction. An attacker must execute code that issues UNIX diag netlink requests through AF_NETLINK with NETLINK_SOCK_DIAG while a target UNIX socket is being released concurrently. The race window is narrow but reachable on multi-core systems by spawning parallel threads that repeatedly query diag information against sockets that other threads are closing. Successful exploitation may yield kernel memory corruption or information disclosure from freed VFS structures.

No public proof-of-concept code is available for CVE-2026-31673. The vulnerability mechanism is documented in the upstream kernel commits referenced below.

Detection Methods for CVE-2026-31673

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing unix_diag, unix_release_sock, or sk_diag_fill in dmesg or /var/log/kern.log
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in af_unix code paths
  • Unprivileged processes opening AF_NETLINK sockets with the NETLINK_SOCK_DIAG protocol at unusual rates

Detection Strategies

  • Audit kernel ring buffer logs for warnings or BUG reports originating in net/unix/diag.c or net/unix/af_unix.c
  • Monitor for unprivileged processes performing high-frequency UNIX socket enumeration via sock_diag netlink calls
  • Enable kernel runtime self-protection features and review crash signatures matching the affected functions

Monitoring Recommendations

  • Track installed kernel package versions across the fleet and compare against patched stable releases
  • Aggregate kernel crash telemetry centrally to identify recurring fault patterns in af_unix
  • Alert on user processes that combine rapid socket creation, binding, and concurrent diag queries

How to Mitigate CVE-2026-31673

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits as soon as distribution updates become available
  • Inventory all Linux systems running affected kernel versions, prioritizing multi-tenant hosts and shared-use systems
  • Restrict local shell access on critical systems until the patched kernel is deployed and rebooted

Patch Information

The fix is committed to the upstream Linux kernel stable tree across multiple branches. Relevant patch commits include Linux Kernel Commit 0c739f37, Linux Kernel Commit 39897df3, Linux Kernel Commit 900a4e09, Linux Kernel Commit b9232421, and Linux Kernel Commit bdf206e7. Administrators should update to a distribution kernel that incorporates these commits and reboot affected systems.

Workarounds

  • Limit unprivileged access to NETLINK_SOCK_DIAG by tightening seccomp profiles on untrusted workloads and containers
  • Apply CAP_NET_ADMIN restrictions and avoid granting CAP_SYS_PTRACE to non-administrative users
  • Deploy mandatory access control policies (SELinux, AppArmor) that restrict the sock_diag netlink family to required system services
bash
# Configuration example: restrict sock_diag via seccomp in a container profile
# Block the socket() syscall when used with NETLINK_SOCK_DIAG for untrusted workloads
# (Illustrative - integrate with your runtime's seccomp policy)
{
  "defaultAction": "SCMP_ACT_ALLOW",
  "syscalls": [
    {
      "names": ["socket"],
      "action": "SCMP_ACT_ERRNO",
      "args": [
        { "index": 0, "value": 16, "op": "SCMP_CMP_EQ" },
        { "index": 2, "value": 4, "op": "SCMP_CMP_EQ" }
      ]
    }
  ]
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • 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
  • NVD-CWE-noinfo
  • Vendor Resources
  • Linux Kernel Commit Update 1

  • Linux Kernel Commit Update 2

  • Linux Kernel Commit Update 3

  • Linux Kernel Commit Update 4

  • Linux Kernel Commit Update 5
  • Related CVEs
  • CVE-2026-43336: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43317: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43377: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43393: Linux Kernel Information Disclosure Bug
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