CVE-2025-40149: Linux kernel · tls: Use __sk_dst_get() and dst_dev_rcu() in get_netdev_for_sock().
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.8 High · fixed in feb474ddbf26b51f462ae2e60a12013bdcfc5407 : patch Linux kernel soon.
Data as of 10 Nov 2026, 14:47 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.8 |
|---|
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-10-15.
- Patch
- Available – fixed in feb474ddbf26b51f462ae2e60a12013bdcfc5407, f09cd209359a23f88d4f3fa3d2379d057027e53c, e37ca0092ddace60833790b4ad7a390408fb1be9 +3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
A fix is available and has been applied in specific Linux kernel commits. Users and administrators should update affected Linux kernel versions to the fixed versions identified by the commit hashes provided. No additional mitigation steps are indicated beyond applying these patches.
Description
CVE-2025-40149 is a high-severity vulnerability in the Linux kernel affecting version 4.18. It involves a use-after-free (UAF) issue in the TLS subsystem's get_netdev_for_sock() function, which is called during setsockopt(). The flaw arises from improper handling of socket destination references, potentially leading to memory corruption. The vulnerability has been fixed in specific Linux kernel commits.
References
- git.kernel.org/stable/c/2b1bef126bbb8d0da51491357559126d567c1dee (opens in a new tab)
- git.kernel.org/stable/c/e37ca0092ddace60833790b4ad7a390408fb1be9 (opens in a new tab)
- git.kernel.org/stable/c/13159c7125636371543a82cb7bbae00ab36730cc (opens in a new tab)
- git.kernel.org/stable/c/f09cd209359a23f88d4f3fa3d2379d057027e53c (opens in a new tab)
- git.kernel.org/stable/c/feb474ddbf26b51f462ae2e60a12013bdcfc5407 (opens in a new tab)
- git.kernel.org/stable/c/c65f27b9c3be2269918e1cbad6d8884741f835c5 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)