CVE Catalog

CVE-2023-52442

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
29.64%

98th percentile - higher than 98% of all known CVEs

Summary

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.

Risk Assessment

The risk includes potential unauthorized access to SMB resources, which could lead to data confidentiality breaches.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS