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

CVE-2026-31518: Linux Kernel Memory Leak Vulnerability

CVE-2026-31518 is a memory leak flaw in the Linux kernel's ESP implementation affecting espintcp with async crypto operations. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 23, 2026

CVE-2026-31518 Overview

A memory leak vulnerability has been identified in the Linux kernel's ESP (Encapsulating Security Payload) implementation, specifically affecting the espintcp subsystem when used with asynchronous cryptographic operations. When the TX queue for espintcp is full, the esp_output_tail_tcp function returns an error without properly freeing the socket buffer (skb). While synchronous crypto operations rely on the common xfrm output code to drop the packet, asynchronous crypto operations via esp_output_done fail to properly release the skb when esp_output_tail_tcp returns an error, leading to a kernel memory leak.

Critical Impact

Repeated triggering of this vulnerability can lead to kernel memory exhaustion, potentially causing system instability or denial of service on systems using IPsec with TCP encapsulation and async crypto.

Affected Products

  • Linux Kernel (ESP/espintcp subsystem)
  • Systems using IPsec with TCP encapsulation
  • Systems utilizing asynchronous cryptographic operations for ESP

Discovery Timeline

  • April 22, 2026 - CVE-2026-31518 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31518

Vulnerability Analysis

This vulnerability occurs in the Linux kernel's ESP implementation within the IPsec networking stack. The issue manifests when handling ESP packets encapsulated in TCP (espintcp) in conjunction with asynchronous cryptographic processing. The root cause lies in inconsistent memory management between synchronous and asynchronous code paths.

In the synchronous crypto path, when esp_output_tail_tcp encounters a full TX queue and returns an error, the xfrm (transform) output layer correctly handles packet cleanup. However, the asynchronous path through esp_output_done lacks the corresponding cleanup logic, causing socket buffers to remain allocated when errors occur.

This memory leak can be exploited by an attacker who can influence network conditions to cause TX queue saturation, leading to progressive kernel memory consumption.

Root Cause

The vulnerability stems from an asymmetric handling of error conditions between synchronous and asynchronous cryptographic code paths in the ESP module. The esp_output_done callback, which handles completion of asynchronous crypto operations, does not properly free the skb (socket buffer) when esp_output_tail_tcp returns an error due to a full TX queue. This oversight creates a memory leak that accumulates over time.

Attack Vector

An attacker capable of causing TX queue congestion on systems using IPsec with TCP encapsulation and async crypto could trigger repeated skb leaks. This could be achieved through:

  1. Sending high volumes of traffic to saturate the TX queue
  2. Exploiting network conditions that delay packet transmission
  3. Targeting systems with limited TX queue capacity

Over time, the accumulated memory leaks could exhaust available kernel memory, leading to denial of service conditions.

The vulnerability exists in the kernel networking stack and requires network access to trigger the affected code path.

Detection Methods for CVE-2026-31518

Indicators of Compromise

  • Gradual increase in kernel memory usage over time on systems running IPsec with espintcp
  • System logs indicating memory allocation failures in networking subsystems
  • Unexplained growth in slab memory allocations related to skb structures

Detection Strategies

  • Monitor kernel memory statistics for abnormal growth patterns using tools like /proc/meminfo and /proc/slabinfo
  • Implement alerting on systems where IPsec with TCP encapsulation is deployed when TX queue drops are detected
  • Use kernel tracing tools (ftrace, bpftrace) to monitor esp_output_tail_tcp error returns in conjunction with async crypto completions

Monitoring Recommendations

  • Enable and review kernel logging for ESP and xfrm subsystem warnings
  • Deploy system monitoring to track kernel memory usage trends on affected systems
  • Monitor network interface TX queue statistics for saturation events using ethtool -S or similar utilities

How to Mitigate CVE-2026-31518

Immediate Actions Required

  • Apply the kernel patches from the official stable kernel branches as soon as possible
  • If patching is not immediately possible, consider temporarily switching to synchronous crypto operations for IPsec if performance impact is acceptable
  • Monitor affected systems closely for signs of memory exhaustion

Patch Information

Multiple patches have been committed to the Linux kernel stable branches to address this vulnerability. The fix ensures that esp_output_done properly frees the skb when esp_output_tail_tcp returns an error during asynchronous crypto operations. The relevant kernel commits are available from the official kernel git repository:

  • Kernel Git Commit 0c0eef8
  • Kernel Git Commit 41aafca
  • Kernel Git Commit 4820847
  • Kernel Git Commit 6a3ec6e
  • Kernel Git Commit 6aa9841
  • Kernel Git Commit 88d3862
  • Kernel Git Commit aca3ad0
  • Kernel Git Commit df6f995

Workarounds

  • Consider temporarily disabling espintcp (ESP-in-TCP encapsulation) if not critical to operations, using standard ESP over UDP instead
  • Increase TX queue sizes to reduce the likelihood of queue saturation triggering the vulnerable code path
  • Implement rate limiting on IPsec traffic to prevent TX queue exhaustion
bash
# Example: Increase TX queue length on the network interface
ip link set eth0 txqueuelen 10000

# Example: Monitor skb memory allocations
cat /proc/slabinfo | grep skb

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit 41aafca

  • Kernel Git Commit 4820847

  • Kernel Git Commit 6a3ec6e

  • Kernel Git Commit 6aa9841

  • Kernel Git Commit 88d3862

  • Kernel Git Commit aca3ad0

  • Kernel Git Commit df6f995
  • Related CVEs
  • CVE-2026-43493: Linux Kernel Crypto Pcrypt Vulnerability

  • CVE-2026-43343: Linux Kernel USB Gadget Vulnerability

  • CVE-2026-43307: Linux Kernel FIFO Read Overflow Vulnerability

  • CVE-2026-43352: Linux Kernel DMA Ring Abort Vulnerability
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