# CVE-2025-40133: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-11-12T10:23:22.498Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 27069e7cb3d1cea9377069266acf19b9cc5ad0ae before ad16235c9d3ef7ec17c109ff39b7504f49d17072; from 27069e7cb3d1cea9377069266acf19b9cc5ad0ae before cc976ec9e38bb79409de3261ba1dbb6868e2a53e; from 27069e7cb3d1cea9377069266acf19b9cc5ad0ae before 893c49a78d9f85e4b8081b908fb7c407d018106a; 6.12 (not affected: before 6.12; from 6.12.55 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/ad16235c9d3ef7ec17c109ff39b7504f49d17072>
- <https://git.kernel.org/stable/c/cc976ec9e38bb79409de3261ba1dbb6868e2a53e>
- <https://git.kernel.org/stable/c/893c49a78d9f85e4b8081b908fb7c407d018106a>

## Sources

- CVE List: [CVE-2025-40133](https://www.cve.org/CVERecord?id=CVE-2025-40133), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40133](https://nvd.nist.gov/vuln/detail/CVE-2025-40133), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40133 · Whole record: https://cve.day/CVE-2025-40133.json · Rebuilt by cve.day 2026-11-25T22:59:07.548Z
