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

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 22.3%, higher than 97% of CVEs (2026-12-01)
- Published: 2024-02-21T07:21:00.438Z
- Modified: 2026-08-15T13:17:40.787Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef before bd554ed4fdc3d38404a1c43d428432577573e809; from f9929ef6a2a55f03aac61248c6a3a987b8546f2a before 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; from f9929ef6a2a55f03aac61248c6a3a987b8546f2a before 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; from f9929ef6a2a55f03aac61248c6a3a987b8546f2a before ecd7e1c562cb08e41957fcd4b0e404de5ab38e20; from f9929ef6a2a55f03aac61248c6a3a987b8546f2a before 4b081ce0d830b684fdf967abc3696d1261387254; 5.17 (not affected: before 5.17; from 6.1.52 up to 6.1.*; from 6.4.15 up to 6.4.*; from 6.5.2 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.17.0 before 6.1.52; from 6.2.0 before 6.4.15; from 6.5.0 before 6.5.2

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/bd554ed4fdc3d38404a1c43d428432577573e809> (patch)
- <https://git.kernel.org/stable/c/30fd6521b2fbd9b767e438e31945e5ea3e3a2fba> (patch)
- <https://git.kernel.org/stable/c/7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4> (patch)
- <https://git.kernel.org/stable/c/ecd7e1c562cb08e41957fcd4b0e404de5ab38e20> (patch)
- <https://git.kernel.org/stable/c/4b081ce0d830b684fdf967abc3696d1261387254> (patch)

## Sources

- CVE List: [CVE-2023-52440](https://www.cve.org/CVERecord?id=CVE-2023-52440), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2023-52440](https://nvd.nist.gov/vuln/detail/CVE-2023-52440), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2023-52440 · Whole record: https://cve.day/CVE-2023-52440.json · Rebuilt by cve.day 2026-11-25T22:58:33.031Z
