CVE-2025-40170Published Nov 12, 2025 · Nov 12Updated Nov 1
net: use dst_dev_rcu() in sk_setup_caps()
Linux
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel did not use RCU protection for certain accesses to destination device data in network code. The input does not specify the resulting impact, how an attacker could trigger it, or whether access, authentication, or user interaction is required.
Teams running the Linux kernel should check their deployments; affected versions are not specified.