8.8high
ksmbd: fix use-after-free in ksmbd_session_rpc_open
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_session_rpc_open A UAF issue can occur due to a race condition between ksmbd_session_rpc_open() and __session_rpc_close(). Add rpc_lock to the session to protect it.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf before a4348710a7267705b75692dc1a000920481d1d92, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1067361a1cc6ad9cdf7acfc47f90012b72ad1502, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 8fb3b6c85b7e3127161623586b62abcc366caa20, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 6323fec65fe54b365961fed260dd579191e46121, from 0626e6641f6b467447c81dd7678a69c66f7746cf before a1f46c99d9ea411f9bf30025b912d881d36fc709, 5.15 Not affected: before 5.15, from 6.1.162 up to 6.1.*, from 6.6.122 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 ksmbd_session_rpc_open A UAF issue can occur due to a race condition between ksmbd_session_rpc_open() and __session_rpc_close(). Add rpc_lock to the session to protect it.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige el problema de use-after-free en ksmbd_session_rpc_open. Un problema de UAF puede ocurrir debido a una condición de ejecución entre ksmbd_session_rpc_open() y __session_rpc_close(). Agregue rpc_lock a la sesión para protegerla.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37926 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37926 changed 2026-07-30 | Public domain |