CVE-2025-40133 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable(). mptcp_active_enable() is called from subflow_finish_connect(), which is icsk->icsk_af_ops->sk_rx_dst_set() and it's not always under RCU. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dst_dev_rcu().
A use-after-free vulnerability has been addressed in the Linux kernel's Multipath TCP (MPTCP) implementation. The issue arose in the 'mptcp_active_enable()' function, which is invoked by 'subflow_finish_connect()'. This function was not always executed under Read-Copy Update (RCU) protection, leading to the potential for a use-after-free condition when accessing the socket's destination device. The vulnerability has been fixed by modifying the function to use RCU-safe versions of the destination retrieval functions.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the Linux Kernel Archive.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/893c49a78d9f85e4b8081b908fb7c407d018106a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ad16235c9d3ef7ec17c109ff39b7504f49d17072 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cc976ec9e38bb79409de3261ba1dbb6868e2a53e | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion