CVE-2025-39720

Description

A flaw was found in the Linux kernel's ksmbd (Server Message Block) server. A remote attacker could trigger a Denial of Service (DoS) by causing memory and resource leaks. When a connection is released, the reference count is not properly decremented, preventing allocated memory from being freed and eventually leading to system resource exhaustion.

Statement

This vulnerability does not affect supported Red Hat Enterprise Linux releases because the in-kernel SMB server (ksmbd) is not enabled or shipped in Red Hat enterprise kernels. Red Hat environments rely on standard user-space implementations such as Samba for SMB file sharing services. Consequently, systems running default or supported Red Hat Linux kernel configurations are not exposed to this reference count leak or potential denial of service.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

If an adversary can prevent a reference count from reaching zero, then resources might not be released when they are supposed to, thus causing resources to become scarce for future needs.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If an adversary can cause a reference count to reach zero when the resource is still in use, then a resource might be released before it is supposed to be, possibly forcing an error that causes the product to crash or exit out of its current operation.

Frequently Asked Questions

Want to get errata notifications? Sign up here.