CVE-2025-39720
Linux Debian vulnerability analysis and mitigation

Overview

A resource management vulnerability was discovered in the Linux kernel's ksmbd component, identified as CVE-2025-39720. The vulnerability was disclosed on September 5, 2025, and involves a refcount leak issue that occurs when ksmbdconnreleasing(opinfo->conn) returns true. This vulnerability affects various versions of the Linux kernel (NVD).

Technical details

The vulnerability stems from improper reference counting in the ksmbd component of the Linux kernel. Specifically, when ksmbdconnreleasing(opinfo->conn) returns true, the refcount is not decremented correctly, resulting in a resource leak. This prevents the reference count from reaching zero, consequently preventing the associated memory from being properly released (NVD).

Impact

The primary impact of this vulnerability is a memory leak in the affected systems, which could lead to resource exhaustion over time. When the reference count fails to reach zero, the associated memory resources remain allocated and cannot be freed, potentially affecting system performance and stability (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through a patch that corrects the reference counting mechanism in the ksmbd component. Users are advised to update their Linux kernel to a version that includes this fix (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39798N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesSep 12, 2025
CVE-2025-39797N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesSep 12, 2025
CVE-2025-39796N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesSep 12, 2025
CVE-2025-39795N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesSep 12, 2025
CVE-2025-39794N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesSep 12, 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