CVE-2023-54203
Linux Ubuntu vulnerability analysis and mitigation

Overview

CVE-2023-54203 is a slab-out-of-bounds read vulnerability in the Linux kernel's ksmbd (kernel SMB server) subsystem, specifically in the init_smb2_rsp_hdr function. The flaw is triggered when an SMB1 (CIFS dialect vers=1.0) mount attempt fails and the SMB2 server operation handler incorrectly processes the SMB1 negotiate request, causing a KASAN-detected out-of-bounds memory read. Affected versions are those of the Linux kernel prior to the backported fixes across stable branches. The vulnerability carries an estimated CVSS severity of Medium and an EPSS score of approximately 0.025% (Feedly, VulDB).

Technical details

The root cause is an improper handling of SMB protocol version negotiation in the ksmbd module (CWE-125: Out-of-bounds Read). When a client connects using SMB1 (vers=1.0), the ksmbd server incorrectly routes the negotiate request through SMB2 server operations — specifically init_smb2_rsp_hdr — which reads 16 bytes from an address that falls outside the allocated slab buffer for the smaller SMB1 negotiate packet (56 bytes). The fix adds dedicated SMB1 server operation handlers (get_cmd_val, init_rsp_hdr, allocate_rsp_buf, check_user_session) so that SMB1 negotiate requests are handled independently and do not fall through to SMB2 logic. Patches are available in the Linux stable kernel tree (Linux Kernel Git, Linux Kernel Git).

Impact

Successful exploitation of this vulnerability can cause a kernel crash (denial of service) on systems running ksmbd when an SMB1 client attempts to connect. The out-of-bounds read may also expose sensitive kernel memory contents, posing a limited confidentiality risk. The primary impact is availability — a kernel panic or system instability — affecting any service hosted on the vulnerable system (Feedly).

Mitigation and workarounds

Apply the upstream Linux kernel patches that introduce SMB1-specific server operation handlers in ksmbd. The fixes are available in the Linux stable kernel tree across multiple stable branches (commits 99a51c673b1d, 921536046bd1, a8334a0c535d, dc8289f912387). As a workaround, administrators can disable ksmbd or block SMB1 (port 445) connections from untrusted clients at the network perimeter. Upgrading to a patched kernel version is the recommended long-term remediation (Linux Kernel Git, Tenable).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50737CRITICAL9
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-50736CRITICAL9
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-50738HIGH7.7
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-61547NONEN/A
  • Linux Debian logoLinux Debian
  • librabbitmq
NoYesJul 29, 2026
CVE-2026-59986NONEN/A
  • Linux Debian logoLinux Debian
  • librabbitmq
NoYesJul 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management