Skip to content
StratQuad

Threats

Linux kernel TLS use-after-free in get_netdev_for_sock()

CVE-2025-40149High

The Linux kernel's TLS implementation could access freed memory when retrieving network device information during socket option setting. An attacker with local access could trigger this by calling setsockopt() on a TLS socket, potentially causing a denial of service or information disclosure. The vulnerability occurs because the code did not properly protect against the device pointer being freed whilst it was being accessed.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.8
HIGH
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
6th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 4.18, before 5.15.199
  • linux linux kernel: from 5.16, before 6.1.161
  • linux linux kernel: from 6.2, before 6.6.121
  • linux linux kernel: from 6.7, before 6.12.66
  • linux linux kernel: from 6.13, before 6.17.3

Reports naming this CVE1 in total