LiveActive security incident?Get immediate response
CVE Record

CVE-2023-32258: 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 SMB2_LOGOFF and SMB2_CLOSE 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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2023-32258 is a Linux kernel ksmbd flaw that could let a remote, unauthenticated attacker execute code in kernel context. The attack complexity is high, but impact is severe where ksmbd is present and reachable. The provided data does not show active exploitation.

Executive priority

Treat this as high priority for environments exposing Linux ksmbd. It is not automatically enterprise-wide if ksmbd is absent or vendor packages are unaffected, but kernel-level remote code execution warrants prompt inventory, exposure review, and vendor-guided patch planning.

Technical view

The flaw is a race condition in ksmbd processing of SMB2_LOGOFF and SMB2_CLOSE commands. Missing locking during object operations can lead to remote code execution in kernel context. The CVSS v3.1 score is 8.1 with network access, no privileges, no user interaction, and high attack complexity.

Likely exposure

Exposure is most relevant to Linux systems using the in-kernel ksmbd SMB server, especially kernel 6.4-rc1 as listed. The bundle marks Red Hat Enterprise Linux 6, 7, 8, 9 and Fedora kernel packages as unaffected. Other vendors or downstream kernels require vendor-specific confirmation.

Exploitation context

The source bundle does not list CISA KEV status and provides no cited evidence of active exploitation. The vulnerability is remotely reachable over SMB when ksmbd is exposed, but exploitation is rated high complexity because it depends on a race condition.

Researcher notes

Key uncertainty is downstream exposure outside the listed kernel 6.4-rc1 and vendor statuses. The provided sources identify CWE-362 and vulnerable handling of SMB2_LOGOFF and SMB2_CLOSE. No exploit availability, proof-of-concept status, or patch commit details are included in the bundle.

Mitigation direction

  • Check your Linux vendor advisory for fixed kernels or official mitigations.
  • Prioritize systems running ksmbd and exposed to untrusted networks.
  • Limit SMB reachability to trusted networks while vendor status is confirmed.
  • If ksmbd is unnecessary, consider disabling it under vendor-approved change control.
  • Confirm Red Hat and Fedora systems match the listed unaffected package status.

Validation and detection

  • Inventory Linux hosts for kernels around 6.4-rc1 and ksmbd usage.
  • Identify systems where ksmbd is enabled and SMB is network-reachable.
  • Compare installed kernel packages against vendor CVE guidance.
  • Do not validate with exploit attempts in production environments.
  • Document vendor status separately for appliances and downstream kernels.
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-32258 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
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/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
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2023-32258Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/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.

CWE-362 · source CWE mapping

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.