CVE-2025-40133

mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().

State
Published
Severity
8.1 High
Published
Nov 12, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27069e7cb3d1cea9377069266acf19b9cc5ad0ae to before ad16235c9d3ef7ec17c109ff39b7504f49d17072Affected
  • 27069e7cb3d1cea9377069266acf19b9cc5ad0ae to before cc976ec9e38bb79409de3261ba1dbb6868e2a53eAffected
  • 27069e7cb3d1cea9377069266acf19b9cc5ad0ae to before 893c49a78d9f85e4b8081b908fb7c407d018106aAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.55 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.