LiveActive security incident?Get immediate response
CVE Record

CVE-2023-52440: ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() If authblob->SessionKey.Length is bigger than session key size(CIFS_KEY_SIZE), slub overflow can happen in key exchange codes. cifs_arc4_crypt copy to session key array from SessionKey from client.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A remote, unauthenticated client can provide an oversized session-key length while authenticating to Linux’s ksmbd SMB server, causing memory corruption inside the kernel. The supplied CVSS rating indicates potential loss of confidentiality, integrity, and availability. Systems not using ksmbd are unlikely to expose the vulnerable code path.

Executive priority

Treat internet-facing or broadly reachable ksmbd servers as an urgent patching priority because kernel memory corruption occurs before authentication. Validate exposure immediately, then deploy vendor-supported fixed kernels through emergency change procedures. Systems without active ksmbd can receive lower priority after that condition is verified.

Technical view

CVE-2023-52440 is a SLUB overflow in ksmbd_decode_ntlmssp_auth_blob(). The code failed to ensure authblob->SessionKey.Length fit the CIFS_KEY_SIZE destination before cifs_arc4_crypt copied client-controlled session-key data. The network-accessible authentication path requires neither privileges nor user interaction according to CVSS 3.1.

Likely exposure

Prioritize Linux systems running ksmbd and accepting SMB connections from untrusted networks. The supplied affected-version data is irregular and includes release numbers plus commit identifiers, so version strings alone may misclassify distribution kernels with backported fixes. Confirm exposure through kernel vendor advisories and patch provenance.

Exploitation context

The source bundle reports CVSS 9.8 with network access, low complexity, no required privileges, and no user interaction. It does not provide evidence of public exploitation or a working exploit, and KEV is false. Active exploitation should therefore not be claimed.

Researcher notes

The documented defect is a missing upper-bound check on a client-supplied NTLMSSP SessionKey length before copying into a fixed CIFS_KEY_SIZE array. Multiple stable-branch commits are supplied. The bundle does not establish exploitability beyond the overflow and CVSS assessment, so specific outcomes such as reliable code execution should not be asserted.

Mitigation direction

  • Install a vendor-supported kernel containing the applicable referenced stable fix.
  • Confirm distribution backports using vendor advisories or kernel package changelogs.
  • Until patched, restrict untrusted network access to systems providing ksmbd SMB service.
  • If ksmbd is unnecessary, consult vendor guidance about safely disabling it.

Validation and detection

  • Inventory Linux hosts, running kernel versions, and distribution package revisions.
  • Determine whether ksmbd is active and reachable from untrusted network segments.
  • Verify the installed kernel contains the relevant stable fix or documented vendor backport.
  • After updating, confirm the new kernel is running and SMB functionality remains healthy.
Prepared
Confidence
high
Sources
7

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-52440 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
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

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.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2023-52440Attack 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

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxc5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, f9929ef6a2a55f03aac61248c6a3a987b8546f2a, f9929ef6a2a55f03aac61248c6a3a987b8546f2a, f9929ef6a2a55f03aac61248c6a3a987b8546f2a, f9929ef6a2a55f03aac61248c6a3a987b8546f2aunaffected
LinuxLinux5.17, 0, 6.1.52, 6.4.15, 6.5.2, 6.6affected
Weakness

CWE details

No CWE listed

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