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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.55, 6.17.3
- CVEs
- CVE-2025-40133
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:40 UTC · Revision 1
Source evidence
mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().
core-osv · Original sourcePublished 12 Nov 2025, 10:23 UTC
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().
osv:CVE-2025-40133
Kernel
Fixed versions: 6.12.55, 6.17.3
Complete source record
{
"id": "885c7d906cf10e8494d0dc49e84d0fd33a60ab9502eb1ccc951e981ed435b623",
"url": "https://osv.dev/vulnerability/CVE-2025-40133",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().",
"summary": "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().",
"evidence": "osv:CVE-2025-40133",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.55",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-40133",
"aliases": [
"CVE-2025-40133"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "27069e7cb3d1cea9377069266acf19b9cc5ad0ae"
},
{
"fixed": "ad16235c9d3ef7ec17c109ff39b7504f49d17072"
},
{
"fixed": "cc976ec9e38bb79409de3261ba1dbb6868e2a53e"
},
{
"fixed": "893c49a78d9f85e4b8081b908fb7c407d018106a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40133.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.55"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40133.json"
}
}
],
"modified": "2026-10-28T02:30:41.332511997Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/893c49a78d9f85e4b8081b908fb7c407d018106a",
"https://git.kernel.org/stable/c/ad16235c9d3ef7ec17c109ff39b7504f49d17072",
"https://git.kernel.org/stable/c/cc976ec9e38bb79409de3261ba1dbb6868e2a53e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40133.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40133",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40133.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40133",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509157,
"published_at": "2025-11-12T10:23:22.498+00:00"
}