8.8high
ksmbd: fix use-after-free in session logoff
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.83% (higher than 55% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf before 931dc8a3670f71c45c0b1379ea4e92dafbda1aca, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 70ad6455139e26e85f48f95d0e21f351c1909342, from 0626e6641f6b467447c81dd7678a69c66f7746cf before d5ec1d79509b3ee01de02c236f096bc050221b7f, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 02d16046cd11a5c037b28c12ffb818c56dd3ef43, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 2fc9feff45d92a92cd5f96487655d5be23fb7e2b, 5.15 Not affected: before 5.15, from 6.1.159 up to 6.1.*, from 6.6.119 up to 6.6.*, from 6.12.28 up to 6.12.*, from 6.14.6 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 5.15 before 6.12.28, from 6.13 before 6.14.6, 6.15 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: corrección del problema "use-after-free" al cerrar sesión. El objeto sess->user puede estar siendo utilizado por otro hilo, por ejemplo, si otra conexión ha enviado una solicitud de configuración de sesión para enlazarse a la sesión que se está liberando. El controlador de esa conexión podría estar en la función smb2_sess_setup, que utiliza sess->user.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37899 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37899 changed 2026-07-30 | Public domain |