Skip to main content
VulnerabilityPublished Updated

CVE-2025-38154: Linux kernel · bpf, sockmap: Avoid using sk_socket after free when sending

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High · fixed in 5.15.0-1092.99~20.04.1 : patch Linux kernel soon.

Data as of 11 Nov 2026, 12:30 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.15.0-1092.99~20.04.1, 5.15.0-1096.105~20.04.1, 5.15.0-1092.101~20.04.1 +64
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 3 Jul 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 11 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlinux-vmwarepkg:deb/ubuntu/linux-vmware?arch=source&distro=resoluteOther threatsAffected
  • =7.0.0-1006.6
Fixed in–
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threatsAffected
  • 6.17.0-1003.3 – 6.17.0-1017.17
10 affected builds
Fixed in–
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-100.100
Fixed in
  • 6.8.0-100.100
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1046.49
Fixed in
  • 6.8.0-1046.49
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14?arch=source&distro=nobleOther threatsAffected
  • <6.14.0-1013.13~24.04.1
Fixed in
  • 6.14.0-1013.13~24.04.1
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1046.52
Fixed in
  • 6.8.0-1046.52

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied to affected Linux kernel versions. The fixed versions include multiple 5.15.x kernel releases as listed in the established facts. Users should update to these fixed kernel versions to mitigate the vulnerability. No additional mitigation is required beyond applying the official fixes.

Description

CVE-2025-38154 is a race condition vulnerability in the Linux kernel's BPF sockmap implementation. It involves the use of sk_socket after it has been freed during socket send operations, affecting all socket types including TCP, UDP, UNIX, and VSOCK. The flaw can lead to kernel panic due to improper synchronization between backlog and close threads. The issue has been fixed by increasing the psock reference count to ensure proper synchronization and prevent use-after-free conditions.

References

Community reviews

Loading reviews…