CVE-2025-21705
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21705 is a vulnerability discovered in the Linux kernel's MPTCP (Multipath TCP) implementation, specifically related to the handling of fastopen disconnect operations. The issue was identified on February 26, 2025, when Syzbot detected a data stream corruption in the kernel version 6.13.0-rc2-syzkaller. The vulnerability affects the MPTCP protocol implementation in the Linux kernel, particularly the fastopen disconnect handling mechanism (NVD).

Technical details

The vulnerability stems from improper handling of disconnect() operations generated internally by the MPTCP protocol during connect FASTOPEN errors. The issue manifests in the net/mptcp/protocol.c file at line 1024, specifically in the _mptcpcleanuna function. The bug can trigger a data stream corruption warning and affects the socket disconnect counter management. The technical trace shows the error occurring in the mptcpsendmsg_fastopen function, which fails to properly handle the disconnect state (Kernel Patch).

Impact

When exploited, this vulnerability can lead to data stream corruption in MPTCP connections. The issue affects the proper handling of socket disconnections, which could potentially cause other threads waiting on the same socket lock to fail to error out correctly (Kernel Patch).

Mitigation and workarounds

A patch has been developed and committed to address the vulnerability. The fix involves increasing the socket disconnect counter when handling FASTOPEN errors, ensuring proper error handling for threads waiting on socket locks. The patch modifies the mptcp_disconnect function to properly update the socket state and disconnect counter (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management