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

Sat, 16 Aug 2025 13:45:00 +0000

Type Values Removed Values Added
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.
Title ksmbd: validate session id and tree id in the compound request
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-08-16T13:27:57.332Z

Updated: 2025-08-16T13:27:57.332Z

Reserved: 2023-07-24T14:52:41.881Z

Link: CVE-2023-3866

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-08-16T14:15:27.383

Modified: 2025-08-16T14:15:27.383

Link: CVE-2023-3866

cve-icon Redhat

No data.