CVE-2023-32257 json
Session race condition remote code execution vulnerability
published 2023-07-24 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-36514
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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 object. An attacker can leverage this vulnerability to execute code in the context of the kernel.
Patch / fix
- linux linux_kernel 5.15.145, 6.1.29, 6.2.16, 6.3.2
- linux Debian 12 6.1.37-1
- linux Debian 14, Debian 13 6.3.7-1
debian advisories DEBIAN-CVE-2023-32257
- linux Ubuntu 22.04 LTS 5.15.0-94.104
- linux-aws Ubuntu 22.04 LTS 5.15.0-1053.58
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1051.59
- linux-gke Ubuntu 22.04 LTS 5.15.0-1050.55
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1046.49
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1050.55
- linux-azure Ubuntu 22.04 LTS 5.15.0-1056.64
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1036.42
ubuntu advisories UBUNTU-CVE-2023-32257
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- hyperv-daemons CBL-Mariner 2.0 5.15.145.2-1
- kernel CBL-Mariner 2.0 5.15.135.1-2
azure linux advisories AZL-27639AZL-27762
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-32257 updated cvss 8.1
kernel: ksmbd: session race condition remote code execution vulnerability
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 15 mo ago
Exploit prediction
2.37% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a kernel
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Fedora Fedora
Classification
- Weakness
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2219806
issue-tracking, patch, third-party-advisory
-
zerodayinitiative.com
/advisories/ZDI-CAN-20596/
patch, third-party-advisory, vdb-entry
-
access.redhat.com
/security/cve/CVE-2023-32257
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20230915-0011/
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2023-32257
- NVD CVE-2023-32257
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.