CVE-2023-32250: 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 SMB2SESSIONSETUP 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
A vulnerability was found in fs/ksmbd/connection.c in ksmbd in the Linux Kernel. This flaw 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 SMB2SESSIONSETUP 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.
Reference: https://github.com/torvalds/linux/commit/f5c779b7ddbda30866cf2a27c63e34158f858c73 https://www.zerodayinitiative.com/advisories/ZDI-23-698/
— Red Hat
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 SMB2SESSIONSETUP 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.
— ZDI
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2023-32250?
CVE-2023-32250 has been classified as a high severity vulnerability due to its potential impact on systems running the affected versions of the Linux kernel.
How do I fix CVE-2023-32250?
To fix CVE-2023-32250, upgrade to kernel versions 5.10.223-1, 5.10.226-1, 6.1.119-1, or later patched releases.
What versions of the Linux kernel are affected by CVE-2023-32250?
CVE-2023-32250 affects Linux kernel versions from 5.15.0 up to but not including 6.4.
Can CVE-2023-32250 be exploited remotely?
Yes, CVE-2023-32250 can be exploited remotely if the affected system is accessible over the network.
What components of the Linux kernel are impacted by CVE-2023-32250?
CVE-2023-32250 specifically impacts the ksmbd, which is a high-performance in-kernel SMB server.