CVE-2023-52440

ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()

HIGH
7.8
CVSS Score
Published: February 21, 2024 at 07:21 AM UTC
Updated: August 15, 2026 at 01:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 22%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.17 ≤ v < 6.1.525.17 ≤ v < 6.4.155.17 ≤ v < 6.5.25.17 ≤ v < 6.65.17.0 ≤ v < 6.1.526.2.0 ≤ v < 6.4.156.5.0 ≤ v < 6.5.25.17c5049d2d73b2dc8e6bb64be633250bad1ae3d9eff9929ef6a2a55f03aac61248c6a3a987b8546f2a
Vendor states this is fixed in 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba (fixed)
Vendor states this is fixed in 4b081ce0d830b684fdf967abc3696d1261387254 (fixed)
Vendor states this is fixed in 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4 (fixed)
Vendor states this is fixed in bd554ed4fdc3d38404a1c43d428432577573e809 (fixed)
Vendor states this is fixed in ecd7e1c562cb08e41957fcd4b0e404de5ab38e20 (fixed)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.1.52 (unaffected)
Vendor states this is fixed in 6.4.15 (unaffected)
Vendor states this is fixed in 6.5.2 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/30fd6521b2fbd9b767e438e31945e5ea3e3a2fba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b081ce0d830b684fdf967abc3696d1261387254
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bd554ed4fdc3d38404a1c43d428432577573e809
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecd7e1c562cb08e41957fcd4b0e404de5ab38e20

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card