Fix for Slub Overflow in ksmbd_decode_ntlmssp_auth_blob() to Prevent Key Exchange Code Overflow
CVE-2023-52440
Key Information:
Badges
Key facts: CVE-2023-52440 is a critical severity (CVSS 9.8) vulnerability in Linux. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 0.8%, the estimated probability of exploitation in the next 30 days. Fixed in Linux 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba, 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4, 4b081ce0d830b684fdf967abc3696d1261387254.
What is CVE-2023-52440?
CVE-2023-52440 is a critical vulnerability identified within the Linux kernel's handling of SMB (Server Message Block) communication, specifically related to the ksmbd_decode_ntlmssp_auth_blob() function. This function is responsible for processing NTLMSSP authentication blobs for Windows interoperation. The vulnerability arises from a potential stack-based buffer overflow, which occurs when the SessionKey.Length field exceeds the size of the allocated session key array. This overflow creates a potential vector for attackers to manipulate memory, leading to undefined behavior or system crashes.
Given the prevalence of SMB in enterprise environments for file sharing and network resource access, a successful exploit of this vulnerability could have severe ramifications. Attackers could leverage this flaw to execute arbitrary code in the kernel space, potentially gaining elevated privileges and accessing sensitive data, modifying system configurations, or disrupting service availability.
Potential impact of CVE-2023-52440
-
Remote Code Execution: Exploiters could potentially execute arbitrary code with kernel-level privileges, allowing them to control affected systems completely and deploy malware or backdoors undetected.
-
Data Compromise: The exploitation of this vulnerability could lead to unauthorized access to confidential files and sensitive information, risking data breaches that could impact the integrity and confidentiality of organizational data.
-
Denial of Service: The vulnerability may be exploited to perform denial-of-service attacks, leading to system crashes or instability. This could disrupt business operations and lead to significant downtime, affecting productivity and service availability for users.
Affected Version(s)
Linux c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef
Linux f9929ef6a2a55f03aac61248c6a3a987b8546f2a < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba
Linux f9929ef6a2a55f03aac61248c6a3a987b8546f2a < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More Linux vulnerabilities
- CVE-2026-99676: Linux Kernel Vulnerability in Refcount Management and Lockless Socket Access(CRITICAL)
- CVE-2026-99582: Linux Kernel Vulnerability in SCTP Control Chunk Migration(HIGH)
- CVE-2026-99370: Buffer Overflow Vulnerability in Linux Kernel NFSD Product by Linux Foundation(CRITICAL)
- CVE-2026-99362: Buffer Overflow Vulnerability in Linux Kernel NFS(CRITICAL)
- CVE-2026-99312: Memory Management Unit Vulnerability in Linux Kernel Affecting KVM(HIGH)
- CVE-2026-99304: Integer Overflow Vulnerability in Ceph Component of Linux Kernel(CRITICAL)
- CVE-2026-99288: Memory Reuse Vulnerability in Linux Kernel TCP Established Lookups(HIGH)
- CVE-2026-99270: Memory Management Issues in Linux Kernel TCP Socket Migration(HIGH)
CVSS V3.1
Timeline
- π₯
Vulnerability reached the number 1 worldwide trending spot
- π
Vulnerability started trending
- π‘
Public PoC available
- πΎ
Exploit known to exist
Vulnerability published
Vulnerability Reserved