Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2023-52440: SLUB overflow in Linux kernel ksmbd NTLMSSP auth blob decoding

Published Feb 21, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS22.3%98th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Linux
IdentifiersCVE-2023-52440CWE-122

CVE-2023-52440 is a Linux kernel ksmbd vulnerability in ksmbd_decode_ntlmssp_auth_blob(). According to the provided content, if authblob->SessionKey.Length is larger than the fixed session key size (CIFS_KEY_SIZE), the key exchange code can copy attacker-controlled SessionKey data into the session key array without proper bounds enforcement, causing a SLUB-based heap overflow. The issue occurs during NTLMSSP authentication blob processing in the in-kernel SMB server (ksmbd).

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can corrupt kernel heap memory during ksmbd authentication processing. Because the flaw is in kernel-space SMB server code, impact can include kernel crash/denial of service and potentially more severe consequences such as arbitrary code execution in kernel context, depending on exploitability and surrounding conditions. The provided content specifically confirms heap overflow in the session key handling path.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by disabling or unloading ksmbd where it is not required, and prevent untrusted network access to the SMB service. Restrict SMB access to trusted hosts and networks only. More generally, avoid exposing the in-kernel SMB server to hostile clients until patched. The provided content does not establish any complete mitigation short of applying the fix.

Remediation

Patch, then assume compromise.

Apply a Linux kernel update containing the ksmbd fix for CVE-2023-52440. The vulnerable code should enforce that authblob->SessionKey.Length does not exceed the destination session key buffer size (CIFS_KEY_SIZE) before copying data in the key exchange path. Use vendor-supplied patched kernels from the relevant distribution or upstream stable releases that include the fix.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2023-52440 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-52440 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-52440?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-52440, the earliest disclosed Sep 12, 2025.
Is there a patch for CVE-2023-52440?
Apply a Linux kernel update containing the ksmbd fix for CVE-2023-52440. The vulnerable code should enforce that authblob->SessionKey.Length does not exceed the destination session key buffer size (CIFS_KEY_SIZE) before copying data in the key exchange path.
What products are affected by CVE-2023-52440?
Linux Kernel.
How severe is CVE-2023-52440?
CVE-2023-52440 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 22.3% (98th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity8Community discussion across Reddit, Mastodon, and other social sources.