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

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

CVE-2026-31533 is a use-after-free flaw in the Linux kernel's net/tls component that occurs during crypto request backlogging, potentially allowing memory corruption. This article covers technical details, impact, and mitigation.

Published: April 23, 2026

CVE-2026-31533 Overview

A use-after-free vulnerability has been identified in the Linux kernel's TLS (Transport Layer Security) implementation within the tls_do_encryption() function. The flaw exists in the -EBUSY error path handling, introduced by commit 859054147318 ("net: tls: handle backlogging of crypto requests"). This vulnerability can lead to memory corruption and potential system instability when processing TLS encryption requests.

Critical Impact

This use-after-free vulnerability in the Linux kernel's net/tls subsystem can lead to memory corruption through double cleanup of encrypt_pending and scatterlist entries, potentially allowing attackers to cause system crashes or exploit the freed memory for malicious purposes.

Affected Products

  • Linux kernel versions with TLS encryption support (net/tls subsystem)
  • Systems utilizing kernel TLS offload functionality
  • Linux distributions running vulnerable kernel versions with commit 859054147318

Discovery Timeline

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

Technical Details for CVE-2026-31533

Vulnerability Analysis

This vulnerability stems from a race condition in the asynchronous crypto request handling within the TLS encryption path. When crypto_aead_encrypt() returns -EBUSY, the crypto request is enqueued to the cryptd backlog, and the async callback tls_encrypt_done() is invoked upon completion.

The async callback unconditionally restores the scatterlist entry (sge->offset, sge->length) and decrements ctx->encrypt_pending. However, when tls_encrypt_async_wait() returns an error, the synchronous error path in tls_do_encryption() performs the same cleanup operations again. This results in:

  1. Double-decrement of encrypt_pending, corrupting the sentinel value (initialized to 1)
  2. Double-restoration of the scatterlist entry
  3. tls_encrypt_async_wait() permanently skipping the wait for pending async callbacks

The corrupted encrypt_pending sentinel allows a subsequent sendmsg call to free the tls_rec structure via bpf_exec_tx_verdict() while a cryptd callback is still pending. When the callback eventually fires, it operates on freed memory, resulting in a classic use-after-free condition.

Root Cause

The root cause is improper synchronization between the asynchronous crypto callback (tls_encrypt_done()) and the synchronous error handling path in tls_do_encryption(). Both code paths perform cleanup of shared state (encrypt_pending counter and scatterlist metadata) without proper coordination, leading to double-free semantics when the -EBUSY async wait returns an error.

Attack Vector

The vulnerability can be triggered through normal TLS socket operations when the crypto subsystem experiences backpressure. An attacker with the ability to create TLS connections and generate encryption load could potentially:

  1. Create conditions that cause crypto_aead_encrypt() to return -EBUSY
  2. Trigger the error path in tls_encrypt_async_wait()
  3. Corrupt the encrypt_pending sentinel through double-decrement
  4. Issue subsequent sendmsg calls to free the tls_rec while callbacks are pending
  5. Exploit the use-after-free when the delayed crypto callback accesses freed memory

The exploitation requires local access or network-based interaction with a vulnerable TLS-enabled service. The attack complexity depends on the ability to reliably trigger crypto backlog conditions.

Detection Methods for CVE-2026-31533

Indicators of Compromise

  • Kernel panic or oops messages referencing tls_encrypt_done or tls_do_encryption functions
  • Memory corruption indicators in kernel logs related to the net/tls subsystem
  • Unexpected system crashes during high TLS encryption workloads
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in TLS encryption paths

Detection Strategies

  • Monitor kernel logs for warnings or errors from the net/tls module during TLS operations
  • Deploy kernel debugging tools like KASAN to detect memory safety violations in production-like environments
  • Implement system monitoring for unexpected TLS socket failures or crashes
  • Review audit logs for anomalous patterns of TLS connection failures

Monitoring Recommendations

  • Enable kernel crash dump analysis to capture evidence of exploitation attempts
  • Configure alerting on kernel oops or panic events related to networking subsystems
  • Monitor system stability metrics for signs of memory corruption
  • Track TLS encryption throughput for unusual patterns that might indicate exploitation attempts

How to Mitigate CVE-2026-31533

Immediate Actions Required

  • Update to a patched Linux kernel version that includes the fix for this vulnerability
  • Review systems running TLS offload or kernel TLS to prioritize patching
  • Consider temporarily disabling kernel TLS if patches cannot be immediately applied
  • Monitor systems for signs of exploitation during the patching window

Patch Information

The Linux kernel maintainers have released patches to address this vulnerability. The fix skips the synchronous cleanup when the -EBUSY async wait returns an error, since the callback has already handled encrypt_pending and sge restoration. Multiple commits have been released across kernel stable branches:

  • Kernel Git Commit 02f3eca
  • Kernel Git Commit 0e43e0a
  • Kernel Git Commit 2694d40
  • Kernel Git Commit 414fc5e
  • Kernel Git Commit 5d70eb2
  • Kernel Git Commit a9b8b18
  • Kernel Git Commit aa9facd

Workarounds

  • Disable kernel TLS offload by using userspace TLS implementations instead (e.g., OpenSSL in userspace mode)
  • Restrict access to TLS socket creation to trusted users and processes
  • Implement network segmentation to limit exposure of vulnerable systems
  • Consider using application-level encryption as an alternative to kernel TLS
bash
# Check current kernel version
uname -r

# Verify if kernel TLS is in use
lsmod | grep tls

# Temporarily disable kernel TLS module if not critical
modprobe -r tls

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

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 02f3eca

  • Kernel Git Commit 0e43e0a

  • Kernel Git Commit 2694d40

  • Kernel Git Commit 414fc5e

  • Kernel Git Commit 5d70eb2

  • Kernel Git Commit a9b8b18

  • Kernel Git Commit aa9facd
  • Related CVEs
  • CVE-2026-31474: Linux Kernel Use-After-Free Vulnerability

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