7.8
High
CVE-2025-40149 In the Linux kernel, the following vulnerability has been resolved: tls: Use __sk_dst_get() and dst_dev_rcu() in…
Description
In the Linux kernel, the following vulnerability has been resolved: tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock(). get_netdev_for_sock() is called during setsockopt(), so not under RCU. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dst_dev_rcu(). Note that the only ->ndo_sk_get_lower_dev() user is bond_sk_get_lower_dev(), which uses RCU.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.18 | earliest → < 6.18 | 6.18 |
| Linux 6.17 | earliest → < 6.17.3 | 6.17.3 |
| Linux 6.12 | earliest → < 6.12.66 | 6.12.66 |
| Linux 6.6 | earliest → < 6.6.121 | 6.6.121 |
| Linux 6.1 | earliest → < 6.1.161 | 6.1.161 |
| Linux 5.15 | earliest → < 5.15.199 | 5.15.199 |
| Linux | 4.18 | No fix stated |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
Other CVEs of Linux
The 18286 CVEs of Linux →
CVE-2026-100082
xen-blkback: Avoid UAF when reading I/O statistics
Not rated
CVE-2026-100081
xen-netback: defer xenvif_mcast_addr_list_free()
Not rated
CVE-2026-100080
xen-netback: Fix UAF when reading statistics data
Not rated
CVE-2026-99270
tcp: Fix potential UAF in reqsk_timer_handler().
8.1
High