LiveActive security incident?Get immediate response
CVE Record

CVE-2023-32254: Tree connection 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 SMB2_TREE_DISCONNECT 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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2023-32254 is a critical Linux kernel ksmbd flaw in SMB tree disconnect handling. A remote attacker could exploit a race condition to run code with kernel privileges on affected systems. The provided data names Linux kernel 6.4-rc1 and lists Red Hat Enterprise Linux and Fedora kernel packages as unaffected.

Executive priority

Prioritize quickly for any environment running Linux in-kernel SMB. Business risk is highest if ksmbd is reachable from untrusted networks because exploitation could mean full kernel-level compromise. Do not assume all Linux SMB servers are affected; validate ksmbd usage and vendor status first.

Technical view

The issue is a CWE-362 race condition in ksmbd processing of SMB2_TREE_DISCONNECT commands. Missing locking around object operations can lead to remote code execution in kernel context. CVSS 3.1 is 9.8: network attack vector, low complexity, no privileges, no user interaction, and high impact to confidentiality, integrity, and availability.

Likely exposure

Exposure is most likely where Linux ksmbd is enabled and reachable over SMB on affected kernel builds. The bundle only identifies kernel 6.4-rc1 as affected and marks listed Red Hat and Fedora kernel packages unaffected. NetApp has an advisory, but this bundle does not state specific affected NetApp products.

Exploitation context

The CVSS vector supports remote, unauthenticated exploitability in principle. However, the bundle says KEV is false and provides no cited evidence of active exploitation. Treat internet- or partner-exposed SMB services using ksmbd as high-priority until vendor impact is confirmed.

Researcher notes

Evidence supports a locking flaw in SMB2_TREE_DISCONNECT handling in ksmbd. Scope details are limited in the bundle: it names kernel 6.4-rc1 and unaffected Red Hat/Fedora packages, but does not provide a complete upstream fixed-version range or exploit-in-the-wild evidence.

Mitigation direction

  • Apply vendor kernel updates or guidance for CVE-2023-32254.
  • Disable ksmbd where it is not required.
  • Restrict SMB exposure to trusted networks or VPN paths.
  • Prioritize externally reachable SMB services for review.
  • Check Red Hat, CVE, ZDI, and NetApp advisories for product-specific status.

Validation and detection

  • Inventory Linux systems exposing SMB services.
  • Confirm whether ksmbd is enabled instead of user-space Samba smbd.
  • Check kernel versions against vendor CVE guidance.
  • Verify Red Hat and Fedora systems match unaffected package status.
  • Review firewall rules for SMB exposure to untrusted networks.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-362: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-32254 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2023-32254Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/akernel6.4-rc1Listed
Red HatRed Hat Enterprise Linux 6kernelunaffected
Red HatRed Hat Enterprise Linux 7kernelunaffected
Red HatRed Hat Enterprise Linux 7kernel-rtunaffected
Red HatRed Hat Enterprise Linux 8kernelunaffected
Red HatRed Hat Enterprise Linux 8kernel-rtunaffected
Red HatRed Hat Enterprise Linux 9kernelunaffected
Red HatRed Hat Enterprise Linux 9kernel-rtunaffected
FedoraFedorakernelunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.