CVE-2025-37952

Description

A flaw was found in the Linux kernel's ksmbd (in-kernel Server Message Block server). This flaw allows an authenticated attacker to cause a Denial of Service (DoS) or potentially execute arbitrary code through memory corruption. The issue occurs due to improper locking during concurrent file operations, creating a race condition where one thread destroys a file structure while another thread is still referencing it, leading to a use-after-free condition.

Statement

This vulnerability does not affect Red Hat Enterprise Linux or other supported products because the in-kernel SMB server (ksmbd) is neither enabled nor built into Red Hat enterprise kernels. Red Hat provides file sharing services through user-space Samba implementations rather than the kernel-space ksmbd module. Consequently, systems running supported Red Hat kernels do not carry the vulnerable code and are not exposed to this race condition.

Understanding the Weakness (CWE)

Integrity,Availability

Technical Impact: Modify Application Data; DoS: Instability; DoS: Crash, Exit, or Restart

When a resource is not properly locked, an attacker could modify the resource while it is being operated on by the product. This might violate the product's assumption that the resource will not change, potentially leading to unexpected behaviors.

Frequently Asked Questions

Want to get errata notifications? Sign up here.