What’s Vulnerable › Vulnerabilities
CVE-2025-40170: net: use dst_dev_rcu() in sk_setup_caps()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-12 · updated 2026-10-30
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().
Affected products
- Linux: 4.13 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/13b0e14bfa7e6d506d8d6426b9e6d7feef01ded3
- https://git.kernel.org/stable/c/5d1be493d1110c9e720b4c51a6e587bb2fb4ac12
- https://git.kernel.org/stable/c/99a2ace61b211b0be861b07fbaa062fca4b58879
- https://git.kernel.org/stable/c/9f22b5f7f1a32f8bbcc82bf34e34ea63523fcd02
- https://git.kernel.org/stable/c/a805729c0091073d8f0415cfa96c7acd1bc17a48
Get alerted when CVE-2025-40170 or the next vulnerability affects your stack