What’s Vulnerable › Vulnerabilities

CVE-2023-3866: ksmbd: validate session id and tree id in the compound request

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in the compound request This patch validate session id and tree id in compound request. If first operation in the compound is SMB2 ECHO request, ksmbd bypass session and tree validation. So work->sess and work->tcon could be NULL. If secound request in the compound access work->sess or tcon, It cause NULL pointer dereferecing error.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.121, 6.1.36, 6.3.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-3866 or the next vulnerability affects your stack