Cyber Resilience

CVE-2023-32257

Race Condition in Linux Kernel 5.15 – 5.15.145

Published
24 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.024 82th percentile
Risk Priority 68 floored blend · peak EPSS

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, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 18% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

MITRE ATT&CK Enterprise Techniques

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-32258Same product: Linux Linux Kernel
CVE-2023-32254Same product: Linux Linux Kernel
CVE-2023-35829Same product: Linux Linux Kernel
CVE-2023-32250Same product: Linux Linux Kernel
CVE-2023-35828Same product: Linux Linux Kernel
CVE-2023-35826Same product: Linux Linux Kernel
CVE-2023-32247Same product: Linux Linux Kernel
CVE-2023-32248Same product: Linux Linux Kernel
CVE-2023-38432Same product: Linux Linux Kernel
CVE-2023-38428Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.15 — 5.15.145 · 5.16 — 6.1.29 · 6.2 — 6.2.16
netapp
solidfire \& hci storage node
all versions
netapp
h300s
all versions
netapp
h410s
all versions
netapp
h500s
all versions
netapp
h700s
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V10.4.2
  • V10.4.5
  • V15.1.3
  • V15.4.1

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.

addresses: CWE-362

Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.

addresses: CWE-362

Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper synchronization primitives and concurrency testing that prevent race conditions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect race conditions, but does not prevent them at design or coding time.

prevents

Secure SDLC mandates concurrency controls and synchronization primitives that directly prevent race conditions.

prevents

Application security requirements can specify thread-safety and locking rules, but do not prescribe implementation details.

prevents

Secure architecture principles require proper synchronization and resource isolation, addressing the root cause of CWE-362.

prevents

Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.

prevents

Change management may catch locking issues introduced by modifications but does not prevent the weakness itself.

References