CVE-2025-39852
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39852 is a memory leak vulnerability discovered in the Linux kernel's TCP Authentication Option (TCP-AO) handling for IPv6. The vulnerability was disclosed on September 19, 2025, affecting the net/tcp subsystem specifically in the TCP-AO failure handling mechanism for IPv6 connections (NVD).

Technical details

The vulnerability occurs when tcpaocopyallmatching() fails in tcpv6synrecvsock(), causing the function to exit without proper cleanup. This results in a memory leak of approximately 2496 bytes per occurrence. The issue stems from the lack of proper error handling, specifically the absence of calls to inetcskprepareforcedclose() and tcp_done() which are necessary for proper memory cleanup (NVD).

Impact

The vulnerability leads to memory leaks in the kernel space, which over time could result in system resource depletion. The leaked memory remains allocated but unreferenced, potentially affecting system performance and stability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.48-1. The fix ensures that tcpv4synrecvsock and tcpv6synrecvsock have similar error-handling mechanisms by implementing proper cleanup procedures (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39886MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-internal
NoYesSep 23, 2025
CVE-2025-39889N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesSep 24, 2025
CVE-2025-39888N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesSep 23, 2025
CVE-2025-39887N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesSep 23, 2025
CVE-2025-39884N/AN/A
  • Linux KernelLinux Kernel
  • kernel-kdump
NoYesSep 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management