Skip to main content
Network Thinking Solutions Logo

CVE-2025-40149

In the Linux kernel, the following vulnerability has been resolved: tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().

All CVEs
CVE-2025-40149Published 11/12/2025

In the Linux kernel, the following vulnerability has been resolved: tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().

Vendor advisory
CVSS7.8High

Overview

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.

Published
11/12/2025
Last modified
11/10/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.18, < 5.15.199

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.161

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.121

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.66

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.17.3

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < 2b1bef126bbb8d0da51491357559126d567c1dee

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < e37ca0092ddace60833790b4ad7a390408fb1be9

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < 13159c7125636371543a82cb7bbae00ab36730cc

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < f09cd209359a23f88d4f3fa3d2379d057027e53c

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < feb474ddbf26b51f462ae2e60a12013bdcfc5407

Verify advisory

Source
Linux
Linux
≥ e8f69799810c32dd40c6724d829eccc70baad07f, < c65f27b9c3be2269918e1cbad6d8884741f835c5

Verify advisory

Source
Linux
Linux
4.18

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Siemens
≥ V3.1.6, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
Siemens
≥ V3.1.7, < *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.