CVE-2025-38437
Description
A flaw was found in the Linux kernel's ksmbd (Server Message Block) server component. An authenticated remote user can trigger a use-after-free condition during file lock or lease break acknowledgment processing if an internal response error occurs. This flaw allows an attacker to cause a Denial of Service (DoS) by crashing the system, with a potential risk of kernel memory corruption.
Statement
This flaw does not impact Red Hat Enterprise Linux because the in-kernel SMB server (ksmbd) is not enabled or shipped in Red Hat kernels. Supported Red Hat enterprise deployments use user-space Samba implementations for SMB network sharing rather than the kernel server implementation. Consequently, Red Hat kernel packages lack the vulnerable code path and remain unaffected.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.