CVE-2025-40170: net: use dst_dev_rcu() in sk_setup_caps()
Vulnerability summary
CVE-2025-40170 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 33 · Related 20Timeline
- 12-11-2025PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: net: use dst_dev_rcu() in sk_setup_caps() Use RCU to protect accesses to dst->dev from sk_setup_caps() and sk_dst_gso_max_size(). Also use dst_dev_rcu() in ip6_dst_mtu_maybe_forward(), and ip_dst_mtu_maybe_forward(). ip4_dst_hoplimit() can use dst_dev_net_rcu().
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu155 products
- linuxAll versions (No fix recorded) | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.69-1 | < 6.17.6-1
Linux1 product
- linux≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 13b0e14bfa7e6d506d8d6426b9e6d7feef01ded3 | ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 9f22b5f7f1a32f8bbcc82bf34e34ea63523fcd02 | ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 5d1be493d1110c9e720b4c51a6e587bb2fb4ac12 | ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < a805729c0091073d8f0415cfa96c7acd1bc17a48 | ≥ 4a6ce2b6f2ecabbddcfe47e7cf61dd0f00b10e36, < 99a2ace61b211b0be861b07fbaa062fca4b58879 | 4.13
3 vendors · 157 products