VulnerabilityCVE-2025-40149UBUNTU-CVE-2025-40149WID-SEC-W-2025-2579:CVE-2025-40149
tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().
Not on CISA KEV
Summary
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().
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- Red Hat Source: Red Hat Security Data (CC BY 4.0)
- Ubuntu Source: Ubuntu