Skip to main content
VulnerabilityPublished Updated

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

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Linux)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < feb474ddbf26b51f462ae2e60a12013bdcfc5407
Fixed in
  • feb474ddbf26b51f462ae2e60a12013bdcfc5407
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < f09cd209359a23f88d4f3fa3d2379d057027e53c
Fixed in
  • f09cd209359a23f88d4f3fa3d2379d057027e53c
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < e37ca0092ddace60833790b4ad7a390408fb1be9
Fixed in
  • e37ca0092ddace60833790b4ad7a390408fb1be9
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < c65f27b9c3be2269918e1cbad6d8884741f835c5
Fixed in
  • c65f27b9c3be2269918e1cbad6d8884741f835c5
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < 13159c7125636371543a82cb7bbae00ab36730cc
Fixed in
  • 13159c7125636371543a82cb7bbae00ab36730cc
LinuxLinuxAffected
  • ≥ e8f69799810c32dd40c6724d829eccc70baad07f, < 2b1bef126bbb8d0da51491357559126d567c1dee
Fixed in
  • 2b1bef126bbb8d0da51491357559126d567c1dee

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

Community reviews

Loading reviews…