CVE-2026-46187
wifi: rsi: fix kthread lifetime race between self-exit and external-stop
In the Linux kernel, the following vulnerability has been resolved:
wifi: rsi: fix kthread lifetime race between self-exit and external-stop
RSI driver use both self-exit(kthread_complete_and_exit) and external-stop
(kthread_stop) when killing a kthread. Generally, kthread_stop() is called
first, and in this case, no particular issues occur.
However, in rare instances where kthread_complete_and_exit() is called
first and then kthread_stop() is called, a UAF occurs because the kthread
object, which has already exited and been freed, is accessed again.
Therefore, to prevent this with minimal modification, you must remove
kthread_stop() and change the code to wait until the self-exit operation
is completed.
Productos afectados
Linux · Linux¿Quieres saber si tu infraestructura está expuesta a esto?
Hablar con TrueHacking →Referencias
https://git.kernel.org/stable/c/16d9f674c619838bdeae42abc0929c9c5477ea1fhttps://git.kernel.org/stable/c/4ac3095da22fc50e51ec10c3b8323c21ab3e441ahttps://git.kernel.org/stable/c/4f4c9b13c485abd0a2d2c97f9db339d1dd8e147fhttps://git.kernel.org/stable/c/4f697813162d5f9151726a6d2bee82bffe4b0256https://git.kernel.org/stable/c/4f9a4ae8d2c198f01611ea376034c326ef43ab56https://git.kernel.org/stable/c/95fcb436586dc3c2983537d557ac05bbc6a027f3https://git.kernel.org/stable/c/9dfe8a4458a063c6433526bc59112a169eee1aa3https://git.kernel.org/stable/c/db57a1aa54ff68669781976e4edb045e09e2b65b