Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-31507

CVE-2026-31507: Linux Kernel Use-After-Free Vulnerability

CVE-2026-31507 is a use-after-free flaw in the Linux kernel's net/smc subsystem that causes double-free errors when tee() duplicates splice pipe buffers, leading to kernel panic and system crashes.

Published: April 23, 2026

CVE-2026-31507 Overview

CVE-2026-31507 is a double-free vulnerability in the Linux kernel's SMC (Shared Memory Communications) networking subsystem. The flaw exists in the smc_rx_splice() function which allocates one smc_spd_priv structure per pipe_buffer and stores the pointer in pipe_buffer.private. When the tee(2) system call duplicates a splice pipe buffer, the generic_pipe_buf_get callback only increments the page reference count without properly handling the smc_spd_priv pointer, resulting in both the original and cloned pipe_buffer sharing the same smc_spd_priv pointer.

When both pipes are subsequently released, smc_rx_pipe_buf_release() is called twice against the same object, leading to a use-after-free condition that can escalate to a NULL pointer dereference and kernel panic.

Critical Impact

This vulnerability can cause kernel panics through NULL pointer dereferences and may potentially allow local privilege escalation through memory corruption in the SMC networking subsystem.

Affected Products

  • Linux kernel with SMC (Shared Memory Communications) support enabled
  • Systems using tee(2) or splice_pipe_to_pipe() operations with SMC sockets
  • Multiple kernel versions across various stable branches

Discovery Timeline

  • 2026-04-22 - CVE CVE-2026-31507 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-31507

Vulnerability Analysis

This double-free vulnerability occurs in the Linux kernel's SMC networking implementation when handling splice pipe buffers. The smc_rx_splice() function creates smc_spd_priv structures to track SMC-specific metadata for each pipe buffer. However, the pipe buffer operations incorrectly use generic_pipe_buf_get as the .get callback, which only handles page reference counting and does not account for the privately allocated smc_spd_priv structure.

When a user-space application calls tee(2) to duplicate a pipe buffer, the kernel creates a copy that points to the same smc_spd_priv object without incrementing any reference count on that structure. This creates a situation where two pipe buffers reference the same smc_spd_priv pointer.

The vulnerability manifests during cleanup when both pipes are closed. The smc_rx_pipe_buf_release() function is invoked for each pipe buffer, performing the following operations:

  1. First call: kfree(priv) → sock_put(sk) → smc_rx_update_cons() (correct)
  2. Second call: kfree(priv) → sock_put(sk) → smc_rx_update_cons() (use-after-free)

The second call operates on already-freed memory, causing KASAN to report a slab-use-after-free in smc_rx_pipe_buf_release(). Subsequently, smc_rx_update_consumer() attempts to dereference the freed priv->smc pointer, triggering a NULL pointer dereference and kernel panic.

Beyond the memory safety issue, duplicating an SMC splice buffer is semantically problematic because smc_rx_update_cons() would advance the consumer cursor twice for the same data, corrupting receive-window accounting.

Root Cause

The root cause is improper reference counting in the SMC splice buffer implementation. The .get callback for SMC pipe buffers used generic_pipe_buf_get, which only increments the page reference count when tee(2) duplicates a buffer. The smc_spd_priv pointer stored in pipe_buffer.private was not properly reference-counted or duplicated, leading to shared ownership without proper lifetime management.

The kernel developers determined that implementing a reference count on smc_spd_priv would fix the double-free but would still leave the cursor-accounting issue unaddressed. The fix instead returns -EFAULT for tee(2) and splice_pipe_to_pipe() operations on SMC splice buffers.

Attack Vector

A local attacker with the ability to create SMC sockets and use the tee(2) system call can trigger this vulnerability. The attack sequence involves:

  1. Creating an SMC socket and setting up splice operations with smc_rx_splice()
  2. Calling tee(2) to duplicate the splice pipe buffer, creating a second reference to the same smc_spd_priv structure
  3. Closing both pipes to trigger the double-free condition
  4. Observing kernel panic via NULL pointer dereference in smc_rx_update_consumer()

The vulnerability is triggered through normal system call interfaces and does not require elevated privileges beyond the ability to create SMC sockets and use pipe operations.

Detection Methods for CVE-2026-31507

Indicators of Compromise

  • KASAN reports showing "slab-use-after-free in smc_rx_pipe_buf_release" in kernel logs
  • Kernel panic messages with "BUG: kernel NULL pointer dereference" at address 0000000000000020
  • Stack traces containing smc_rx_update_consumer, free_pipe_info, and pipe_release function calls
  • Unexpected kernel crashes on systems using SMC networking with splice operations

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in debug builds to detect use-after-free conditions early
  • Monitor kernel logs for SMC-related crash signatures, particularly in smc_rx_pipe_buf_release() and smc_rx_update_consumer() functions
  • Implement audit rules to log tee(2) system calls in conjunction with SMC socket file descriptors
  • Deploy kernel crash analysis tools to identify patterns consistent with this double-free vulnerability

Monitoring Recommendations

  • Configure kernel crash dump collection to capture memory state when NULL pointer dereferences occur in SMC subsystem
  • Monitor for unusual patterns of tee(2) system calls targeting pipe file descriptors associated with SMC sockets
  • Review dmesg output regularly for KASAN warnings related to smc_spd_priv allocations
  • Implement real-time kernel event monitoring using eBPF probes on smc_rx_splice() and related functions

How to Mitigate CVE-2026-31507

Immediate Actions Required

  • Apply the kernel patches from the stable kernel branches immediately on systems using SMC networking
  • Audit applications using SMC sockets to identify any that rely on tee(2) with SMC splice buffers
  • Consider disabling SMC protocol temporarily on critical systems until patches can be applied
  • Restrict access to SMC socket creation through network namespace isolation or seccomp filters

Patch Information

The Linux kernel maintainers have released fixes across multiple stable kernel branches. The patches modify the SMC splice buffer handling to return -EFAULT when tee(2) or splice_pipe_to_pipe() attempts to duplicate SMC splice buffers. Users who need to duplicate SMC socket data must use a copy-based read path instead.

Patches are available from the following kernel commits:

  • Commit 24dd586bb4cb
  • Commit 3cc76380fea7
  • Commit 54c87a730157
  • Commit 7bcb974c771c
  • Commit 7e8916f46c2f
  • Commit 81acbd345d40
  • Commit 98ba5cb27476
  • Commit ae5575e66041

Workarounds

  • Modify applications to use copy-based read paths instead of tee(2) for duplicating SMC socket data
  • Implement application-level restrictions to prevent tee(2) calls on SMC splice buffers
  • Use network namespace isolation to limit access to SMC sockets on untrusted systems
  • Consider using alternative transport protocols (TCP/IP) on systems where SMC security cannot be guaranteed until patching is complete

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit

  • Linux Kernel Commit
  • Related CVEs
  • CVE-2026-31533: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31474: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23427: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23428: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | 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