CVE-2025-38191
Description
A flaw was found in the Linux kernel's ksmbd component, which provides Server Message Block (SMB) file-sharing services. An unauthenticated remote attacker can cause a Denial of Service (DoS) by crashing the system during Kerberos authentication setup. By supplying a previous session identifier before user verification completes, the server references uninitialized session data, resulting in a null pointer dereference.
Statement
This vulnerability does not affect supported Red Hat Enterprise Linux releases because the in-kernel SMB server (ksmbd) is not enabled or provided in Red Hat kernel builds. Red Hat relies on user-space Samba to deliver SMB and CIFS file-sharing services. Systems running upstream kernels with ksmbd enabled could experience a denial of service if an unauthenticated client initiates Kerberos session termination before identity validation completes.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
Integrity,Confidentiality
Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory
In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.