Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable(). (CVE-2025-40133)
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().
AI Analysis
Technical Summary
CVE-2025-40133 addresses a use-after-free vulnerability in the Linux kernel's Multipath TCP (MPTCP) implementation. The vulnerable function mptcp_active_enable() calls subflow_finish_connect(), which invokes icsk->icsk_af_ops->sk_rx_dst_set(). This call is not always protected by Read-Copy-Update (RCU), causing unsafe access to sk_dst_get(sk)->dev and potentially triggering a use-after-free condition. The patch replaces sk_dst_get() with __sk_dst_get() and uses dst_dev_rcu() to ensure safe access under RCU, mitigating the UAF risk.
Potential Impact
Successful exploitation could lead to use-after-free memory corruption in the Linux kernel's MPTCP code, potentially allowing an attacker to cause denial of service or execute arbitrary code with kernel privileges. The CVSS vector indicates network attack vector, high complexity, no privileges or user interaction required, with high confidentiality, integrity, and availability impact.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by modifying mptcp_active_enable() to use __sk_dst_get() and dst_dev_rcu() for safe reference access. Users should apply the official kernel updates containing this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable(). (CVE-2025-40133)
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().
CVSS v3.1
Score 8.1high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-40133 addresses a use-after-free vulnerability in the Linux kernel's Multipath TCP (MPTCP) implementation. The vulnerable function mptcp_active_enable() calls subflow_finish_connect(), which invokes icsk->icsk_af_ops->sk_rx_dst_set(). This call is not always protected by Read-Copy-Update (RCU), causing unsafe access to sk_dst_get(sk)->dev and potentially triggering a use-after-free condition. The patch replaces sk_dst_get() with __sk_dst_get() and uses dst_dev_rcu() to ensure safe access under RCU, mitigating the UAF risk.
Potential Impact
Successful exploitation could lead to use-after-free memory corruption in the Linux kernel's MPTCP code, potentially allowing an attacker to cause denial of service or execute arbitrary code with kernel privileges. The CVSS vector indicates network attack vector, high complexity, no privileges or user interaction required, with high confidentiality, integrity, and availability impact.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by modifying mptcp_active_enable() to use __sk_dst_get() and dst_dev_rcu() for safe reference access. Users should apply the official kernel updates containing this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q2wv-3qj8-h2hq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40133"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d69c2644c7f847a8dd
Added to database: 07/30/2026, 15:50:46 UTC
Last enriched: 07/30/2026, 16:52:04 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.