Skip to main content
EPSS 0.5%top 60%

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)

0
Medium
Published: 11/12/2025 (11/12/2025, 11:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<6.17.0-1007.7~24.04.1<6.17.0-1008.8~24.04.1<6.17.0-1008.8<6.17.0-1011.11

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:52:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses