CVE-2023-32257
Published: 24 July 2023
Summary
CVE-2023-32257 is a high-severity Race Condition (CWE-362) vulnerability in Linux Linux Kernel. Its CVSS base score is 8.1 (High).
Operationally, ranked at the 30.9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
Deeper analysis
A flaw exists in the Linux kernel's ksmbd component, the in-kernel SMB server. The vulnerability occurs during handling of SMB2_SESSION_SETUP and SMB2_LOGOFF commands and stems from missing synchronization primitives when operating on shared objects, producing a race condition (CWE-362, CWE-667). Successful exploitation grants an attacker the ability to run arbitrary code inside the kernel. The issue carries a CVSS 3.1 base score of 8.1 with network attack vector and no required credentials or user interaction.
An unauthenticated remote attacker can trigger the race by sending a crafted sequence of session-setup and logoff requests. Because the flaw resides in kernel memory management, compromise yields full control over the target system, including the ability to read, modify, or destroy arbitrary data and to install persistent root-level malware.
Public advisories from Red Hat, NetApp, and the Zero Day Initiative reference upstream kernel patches that add the missing locking around the affected session objects; administrators are advised to apply the relevant updates or to disable ksmbd if it is not required.
EPSS for the CVE rose from a low baseline to a peak of 0.0975 on 2025-01-22 before receding, indicating a clear post-disclosure increase in observed exploitation interest that warrants renewed monitoring.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-36514
Vulnerability details
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 SMB2_SESSION_SETUP and SMB2_LOGOFF commands. The issue results from the lack of proper locking when performing operations on an…
more
object. An attacker can leverage this vulnerability to execute code in the context of the kernel.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.
Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.