Linux
mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 27069e7cb3d1cea9377069266acf19b9cc5ad0ae, < ad16235c9d3ef7ec17c109ff39b7504f49d17072
- >= 27069e7cb3d1cea9377069266acf19b9cc5ad0ae, < cc976ec9e38bb79409de3261ba1dbb6868e2a53e
- >= 27069e7cb3d1cea9377069266acf19b9cc5ad0ae, < 893c49a78d9f85e4b8081b908fb7c407d018106a
Fixed in ad16235c9d3ef7ec17c109ff39b7504f49d17072, cc976ec9e38bb79409de3261ba1dbb6868e2a53e, 893c49a78d9f85e4b8081b908fb7c407d018106a
- 6.12
Fixed in 0, 6.12.55, 6.17.3, 6.18
Mitigation
Upgrade Linux to ad16235c9d3ef7ec17c109ff39b7504f49d17072 or cc976ec9e38bb79409de3261ba1dbb6868e2a53e or 893c49a78d9f85e4b8081b908fb7c407d018106a or later.
Upgrade Linux to 0 or 6.12.55 or 6.17.3 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.