CVE-2023-32254: Linux Kernel ksmbd Tree Connection Race Condition Remote Code Execution Vulnerability
A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the processing of SMB2TREEDISCONNECT commands. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to execute code in the context of the kernel.
Other sources
An improper locking issue leading to a race condition vulnerability was found in ksmbd, a high-performance in-kernel SMB server. Quoting ZDI security advisory [1]:
"This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.
The specific flaw exists within the processing of SMB2TREEDISCONNECT commands. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to execute code in the context of the kernel."
[1] https://www.zerodayinitiative.com/advisories/ZDI-CAN-20592/
— Red Hat
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2023-32254?
CVE-2023-32254 is classified as a high severity vulnerability due to its potential to allow unauthorized access via improperly locked operations.
How do I fix CVE-2023-32254?
To mitigate CVE-2023-32254, update to the latest kernel versions as recommended by your Linux distribution, specifically versions 6.4 or patched versions of earlier kernels.
Which systems are affected by CVE-2023-32254?
CVE-2023-32254 affects various versions of the Linux kernel, specifically those between 5.15.0 and 6.4.
What type of vulnerability is CVE-2023-32254?
CVE-2023-32254 is a locking flaw in the Linux kernel's ksmbd SMB server that can be exploited through the processing of SMB2_TREE_DISCONNECT commands.
Who discovered CVE-2023-32254?
CVE-2023-32254 was reported through security advisories and tracked by the Zero Day Initiative.