5.5medium
ksmbd: call rcu_barrier() in ksmbd_server_exit()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: call rcu_barrier() in ksmbd_server_exit() racy issue is triggered the bug by racing between closing a connection and rmmod. In ksmbd, rcu_barrier() is not called at module unload time, so nothing prevents ksmbd from getting unloaded while it still has RCU callbacks pending. It leads to trigger unintended execution of kernel code locally and use to defeat protections such as Kernel Lockdown
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c053e389db0d892e2ff5a60ec5e533b976503795, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d4174505016a3b2996eb7ff1530dcabbf15d47b6, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5a7090ccc242ab009ee7769e9d7fad6644dbe9bd, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before eb307d09fe15844fdaebeb8cc8c9b9e925430aa5, 5.15 Not affected: before 5.15, from 5.15.111 up to 5.15.*, from 6.1.28 up to 6.1.*, from 6.2.15 up to 6.2.*, from 6.3.2 up to 6.3.*, from 6.4 up to * | CVE List |
| linux linux_kernel | from 5.15 before 5.15.111, from 5.16 before 6.1.28, from 6.2 before 6.2.15, from 6.3 before 6.3.2 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ksmbd: call rcu_barrier() in ksmbd_server_exit() racy issue is triggered the bug by racing between closing a connection and rmmod. In ksmbd, rcu_barrier() is not called at module unload time, so nothing prevents ksmbd from getting unloaded while it still has RCU callbacks pending. It leads to trigger unintended execution of kernel code locally and use to defeat protections such as Kernel Lockdown
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: el problema de la llamada a rcu_barrier() en ksmbd_server_exit() desencadena el error al acelerarse entre el cierre de una conexión y rmmod. En ksmbd, rcu_barrier() no se llama al descargar el módulo, por lo que nada impide que ksmbd se descargue mientras aún tenga devoluciones de llamada de RCU pendientes. Esto provoca la ejecución involuntaria de código del kernel localmente y se utiliza para burlar protecciones como el bloqueo del kernel.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-32246 changed 2026-08-15 | CVE Terms of Use |
| NVD | CVE-2023-32246 changed 2026-08-15 | Public domain |