Cyber Resilience

CVE-2023-32254

Race Condition in Linux Kernel 5.15 – 5.15.145

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

Summary

CVE-2023-32254 is a critical-severity Race Condition (CWE-362) vulnerability in Linux Linux Kernel. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 14% 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, an in-kernel SMB server, specifically in the handling of SMB2_TREE_DISCONNECT commands. The root cause is a race condition (CWE-362) stemming from missing locking during object operations, which can be triggered over the network and yields arbitrary code execution inside the kernel. The vulnerability received a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers can exploit the issue without user interaction by sending crafted SMB2 requests to an affected ksmbd instance. Successful exploitation grants kernel-level code execution, allowing full compromise of the host system.

Public advisories from Red Hat, NetApp, and the Zero Day Initiative document the flaw and point to available fixes in the upstream kernel and vendor distributions.

EPSS for the CVE rose from a low baseline to a peak of 0.0788 on 2025-01-22 before receding, indicating measurable post-disclosure exploitation interest that later subsided.

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_TREE_DISCONNECT commands. The issue results from the lack of proper locking when performing operations on an object. An…

more

attacker can leverage this vulnerability to execute code in the context of the kernel.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-32250Same product: Linux Linux Kernel
CVE-2023-32258Same product: Linux Linux Kernel
CVE-2023-35829Same product: Linux Linux Kernel
CVE-2023-2006Same product: Linux Linux Kernel
CVE-2023-32257Same product: Linux Linux Kernel
CVE-2023-38430Same product: Linux Linux Kernel
CVE-2023-35828Same product: Linux Linux Kernel
CVE-2023-35826Same product: Linux Linux Kernel
CVE-2023-38427Same product: Linux Linux Kernel
CVE-2023-32247Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.15 — 5.15.145 · 5.16 — 6.1.28 · 6.2 — 6.2.15
netapp
hci management 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.

none

Change management reduces introduction of concurrency bugs during updates, yet does not address the weakness itself.

References