CVE-2023-52441: ksmbd: fix out of bounds in init_smb2_rsp_hdr()
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix out of bounds in init_smb2_rsp_hdr()
If client send smb2 negotiate request and then send smb1 negotiate
request, init_smb2_rsp_hdr is called for smb1 negotiate request since
need_neg is set to false. This patch ignore smb1 packets after ->need_neg
is set to false.
Security readout for executives and security teams
Plain-English summary
A remotely reachable Linux SMB server using ksmbd can mishandle a specific protocol transition and access memory outside its intended bounds. The supplied CVSS assessment anticipates serious confidentiality and availability consequences, although the sources do not specify the exact failure outcome. Systems not running or exposing ksmbd are unlikely to be directly exposed.
Executive priority
Inventory ksmbd usage immediately and urgently remediate reachable instances, especially those exposed beyond trusted networks. The technical severity is critical, but current sources do not establish active exploitation. Systems without ksmbd enabled can be deprioritized after verification.
Technical view
After an SMB2 negotiate request sets need_neg to false, a later SMB1 negotiate request can incorrectly reach init_smb2_rsp_hdr(), causing an out-of-bounds condition. The CVSS vector describes unauthenticated, low-complexity network access without user interaction. The fix ignores SMB1 packets after negotiation state has changed.
Likely exposure
Highest exposure is on Linux systems running ksmbd with SMB reachable from untrusted networks. The bundle identifies affected 5.15, 6.1, 6.4, and 6.5-related versions, but its version formatting does not establish reliable range boundaries. Confirm exposure using distribution advisories and inclusion of the applicable stable fix.
Exploitation context
The bundle reports no CISA KEV listing and provides no evidence of active exploitation or a public exploit. The vulnerable path is remotely reachable before authentication according to the CVSS vector. Treat exposed ksmbd services urgently, but do not interpret the critical score alone as proof of exploitation.
Researcher notes
The disclosed state error crosses SMB protocol handling after negotiation and produces an out-of-bounds condition. The bundle does not identify a CWE, exact memory primitive, crash signature, or demonstrated information disclosure. Four stable-kernel commits are supplied, suggesting branch-specific backports; determine the applicable commit through kernel or distribution provenance.
Mitigation direction
Install a vendor-supported kernel containing the applicable upstream stable fix.
Prioritize internet-reachable or broadly accessible ksmbd servers for remediation.
Restrict SMB access to trusted networks while updates are pending.
Disable ksmbd where SMB file sharing is unnecessary.
Check Linux distribution guidance for precise fixed package versions.
Validation and detection
Confirm whether ksmbd is enabled or loaded on each Linux host.
Identify which networks can reach the host's SMB service.
Compare installed kernels with vendor advisories and applicable fix commits.
Review system logs for unexplained ksmbd faults or SMB negotiation failures.
After updating, verify the running kernel contains the vendor-provided correction.
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.
cve · low confidence lookup
CVE-2023-52441 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.
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.