Back to CVE records
High 7.8Published Nov 12, 2025

CVE-2025-40149tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().

Updated under an hour ago ()

Does this affect you?

It affects Linux and 4 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from e8f69799810c32dd40c6724d829eccc70baad07f before 2b1bef126bbb8d0da51491357559126d567c1dee; from e8f69799810c32dd40c6724d829eccc70baad07f before e37ca0092ddace60833790b4ad7a390408fb1be9; from e8f69799810c32dd40c6724d829eccc70baad07f before 13159c7125636371543a82cb7bbae00ab36730cc; from e8f69799810c32dd40c6724d829eccc70baad07f before f09cd209359a23f88d4f3fa3d2379d057027e53c; from e8f69799810c32dd40c6724d829eccc70baad07f before feb474ddbf26b51f462ae2e60a12013bdcfc5407; from e8f69799810c32dd40c6724d829eccc70baad07f before c65f27b9c3be2269918e1cbad6d8884741f835c5
CNA record
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.6
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name)
from V3.1.6
CISA ADP
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.6
CISA ADP
linux linux_kernel
linux:linux_kernel
from 4.18 before 5.15.199; from 5.16 before 6.1.161; from 6.2 before 6.6.121; from 6.7 before 6.12.66; from 6.13 before 6.17.3
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.