7.5high
ksmbd: validate session id and tree id in the compound request
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.70% (higher than 49% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf before eb947403518ea3d93f6d89264bb1f5416bb0c7d0, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 854156d12caa9d36de1cf5f084591c7686cc8a9d, from 0626e6641f6b467447c81dd7678a69c66f7746cf before d1066c1b3663401cd23c0d6e60cdae750ce00c0f, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 5005bcb4219156f1bf7587b185080ec1da08518e, 5.15 Not affected: before 5.15, from 5.15.121 up to 5.15.*, from 6.1.36 up to 6.1.*, from 6.3.10 up to 6.3.*, from 6.4 up to * | CVE List |
| linux linux_kernel | from 5.15 before 5.15.121, from 5.16 before 6.1.36, from 6.2 before 6.3.10, 6.4 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: valida el ID de sesión y el ID de árbol en la solicitud compuesta. Este parche valida el ID de sesión y el ID de árbol en la solicitud compuesta. Si la primera operación en la solicitud compuesta es una solicitud ECHO SMB2, ksmbd omite la validación de sesión y árbol. Por lo tanto, work->sess y work->tcon podrían ser NULL. Si la segunda solicitud en la solicitud compuesta accede a work->sess o tcon, se produce un error de desreferenciación de puntero NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-3866 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2023-3866 changed 2026-08-04 | Public domain |