CVE-2023-52442

CVE-2023-52442

Critical · published February 21, 2024

CVSS v3.1
9.1
EPSS
30%
Percentile
98.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate session id and tree id in compound request

`smb2_get_msg()` in smb2_get_ksmbd_tcon() and smb2_check_user_session()

will always return the first request smb2 header in a compound request.

if `SMB2_TREE_CONNECT_HE` is the first command in compound request, will

return 0, i.e. The tree id check is skipped.

This patch use ksmbd_req_buf_next() to get current command in compound.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.29644 · 98.2th percentile
Published
2024-02-21T13:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 5.15.1455.15.145
linux/linux_kernel≥ 5.16, < 6.1.536.1.53
linux/linux_kernel≥ 6.2, < 6.4.166.4.16
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 21 FEB 07:21Z
    ksmbd: validate session id and tree id in compound request
    cvelistv5