CVE-2023-32258: Linux Kernel ksmbd Session 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 SMB2LOGOFF and SMB2CLOSE 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 SMB2LOGOFF and SMB2CLOSE 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-20796/
— Red Hat
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2023-32258?
CVE-2023-32258 has a high severity rating due to the potential for unauthorized access and system disruption.
How do I fix CVE-2023-32258?
To fix CVE-2023-32258, update your Linux kernel to versions 6.4 or above, or to the specific patched versions available from your distribution.
What systems are affected by CVE-2023-32258?
CVE-2023-32258 affects various versions of the Linux kernel, particularly those between 5.15 and 6.3.9.
Who is impacted by CVE-2023-32258?
Organizations using the affected versions of the Linux kernel in their environments could be impacted by CVE-2023-32258.
What are the potential exploits of CVE-2023-32258?
An attacker could exploit CVE-2023-32258 to gain unauthorized access to sensitive data or disrupt SMB operations.