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-2025-38566

CVE-2025-38566: Linux Kernel TLS Alert Handling Flaw

CVE-2025-38566 is a TLS alert handling flaw in Linux Kernel affecting NFS over TLS operations due to improper message iterator processing. This article covers technical details, affected versions, and mitigation.

Published: April 29, 2026

CVE-2025-38566 Overview

CVE-2025-38566 is a security vulnerability in the Linux kernel's sunrpc subsystem that affects the handling of server-side TLS alerts in NFS over TLS implementations. The vulnerability exists in the tls_alert_recv() function, which incorrectly assumes it can read data from the message iterator's kvec structure. This flaw in how kTLS (kernel TLS) control messages are processed can be exploited to cause a denial of service condition on affected systems.

The kTLS implementation splits TLS non-data record payloads between the control message buffer (containing the type, such as TLS alert or TLS cipher change) and the remaining payload (including TLS alert level and description) which goes into the msg payload buffer. The vulnerability arises from improper handling of these control messages during sock_recvmsg() operations.

Critical Impact

Network-accessible vulnerability in Linux kernel NFS over TLS implementation allows remote attackers to trigger denial of service conditions without requiring authentication or user interaction.

Affected Products

  • Linux Kernel (multiple versions)
  • Linux Kernel 6.17-rc1
  • Systems utilizing NFS over TLS with kTLS enabled

Discovery Timeline

  • 2025-08-19 - CVE CVE-2025-38566 published to NVD
  • 2025-11-26 - Last updated in NVD database

Technical Details for CVE-2025-38566

Vulnerability Analysis

This vulnerability is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions). The flaw resides in the kernel's sunrpc TLS handling code, specifically in how the tls_alert_recv() function processes incoming TLS control messages. The function makes unsafe assumptions about the availability and structure of data within the message iterator's kvec, leading to improper exception handling when processing TLS alert records.

The kTLS layer processes TLS data record types normally when no control message structure is set up. However, when it encounters a TLS control message, it returns an error. The vulnerability manifests because the msg iterator can advance the kvec pointer during the copy process, but the code fails to properly revert the iterator state before calling into tls_alert_recv().

Root Cause

The root cause is the improper handling of TLS control message setup and consumption by sock_recvmsg(). When kTLS splits TLS non-data record payloads between the control message buffer and the msg payload buffer, the tls_alert_recv() function incorrectly assumes direct access to kvec data. The iterator advancement during the copy process creates a state inconsistency that the code fails to account for, resulting in improper processing of TLS alerts.

Attack Vector

An attacker can exploit this vulnerability over the network without requiring authentication or user interaction. By sending specially crafted TLS alert messages to an NFS server with TLS enabled, an attacker can trigger the vulnerable code path in tls_alert_recv(). The attack exploits the improper state management of the message iterator, causing the kernel to improperly handle the TLS control message and potentially crash or become unresponsive.

The vulnerability affects NFS servers configured with TLS encryption (NFS over TLS), which is increasingly common in enterprise environments requiring secure file sharing.

Detection Methods for CVE-2025-38566

Indicators of Compromise

  • Unexpected kernel panics or crashes in systems running NFS over TLS services
  • Abnormal TLS alert messages in network traffic targeting NFS ports
  • Kernel log entries indicating sunrpc or kTLS subsystem errors
  • Unusual denial of service conditions affecting NFS server availability

Detection Strategies

  • Monitor kernel logs for sunrpc-related errors or stack traces involving tls_alert_recv()
  • Implement network traffic analysis to detect malformed or unusual TLS alert messages targeting NFS services
  • Deploy kernel-level monitoring for unexpected crashes in the sunrpc or kTLS subsystems
  • Configure alerting for NFS service availability degradation

Monitoring Recommendations

  • Enable detailed logging for NFS and TLS subsystems on affected servers
  • Implement network intrusion detection rules for anomalous TLS traffic patterns
  • Monitor system stability metrics for NFS servers with TLS enabled
  • Review kernel crash dumps for evidence of sunrpc or kTLS-related failures

How to Mitigate CVE-2025-38566

Immediate Actions Required

  • Review current Linux kernel version and determine if affected
  • Apply available kernel patches from the Linux kernel stable tree
  • Consider temporarily disabling NFS over TLS if immediate patching is not possible
  • Implement network segmentation to limit exposure of NFS services

Patch Information

The Linux kernel maintainers have released fixes for this vulnerability. The following commits address the issue:

  • Kernel commit 25bb3647d30a
  • Kernel commit 3b549da87541
  • Kernel commit 6b33c31cc788
  • Kernel commit b1df39462171
  • Kernel commit bee47cb026e7

The fix reworks how control messages are set up and used by sock_recvmsg(), ensuring proper iterator state management before calling tls_alert_recv().

Workarounds

  • Temporarily disable NFS over TLS and use alternative network security measures such as VPNs or IPsec
  • Implement firewall rules to restrict access to NFS services to trusted networks only
  • Monitor for and block suspicious TLS traffic patterns at the network perimeter
  • Consider using application-layer load balancers with TLS termination to offload TLS processing from affected servers
bash
# Check current kernel version
uname -r

# Verify if NFS over TLS is in use
grep -r "xprtsec" /etc/nfs.conf /etc/nfsmount.conf 2>/dev/null

# Check for sunrpc module status
lsmod | grep sunrpc

# Review kernel logs for related errors
dmesg | grep -i "sunrpc\|ktls\|tls_alert"

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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-754
  • Vendor Resources
  • Linux Kernel Commit Changes

  • Linux Kernel Commit Changes

  • Linux Kernel Commit Changes

  • Linux Kernel Commit Changes

  • Linux Kernel Commit Changes
  • Related CVEs
  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability

  • CVE-2026-31746: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31752: Linux Kernel ND Option Vulnerability

  • CVE-2026-31738: Linux Kernel VXLAN Option Validation Flaw
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