Linux Kernel: RSI WiFi Driver kthread UAF Race on Self-Exit and External-Stop
CVE-2026-46187 Published on May 28, 2026
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.
Products Associated with CVE-2026-46187
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and below 95fcb436586dc3c2983537d557ac05bbc6a027f3 is affected.
- Version 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and below 16d9f674c619838bdeae42abc0929c9c5477ea1f is affected.
- Version 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and below 4f9a4ae8d2c198f01611ea376034c326ef43ab56 is affected.
- Version 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and below 4f4c9b13c485abd0a2d2c97f9db339d1dd8e147f is affected.
- Version 4c62764d0fc21a34ffc44eec1210038c3a2e4473 and below db57a1aa54ff68669781976e4edb045e09e2b65b is affected.
- Version d8f70ad66032363e3edceee81a7be2aaccb2d7f5 is affected.
- Version ec759c0015fb7d4f5c7cb5711d2c8905724c7983 is affected.
- Version c8ed05b1d8520f40395916438da9b38ce937a896 is affected.
- Version ad78e2e057ab8d914a2b5e3e6acf29c3c8a428a3 is affected.
- Version de1fd69b6541ff61177114d63af7ea719c426cf0 is affected.
- Version 3.18.139 and below 3.19 is affected.
- Version 4.4.179 and below 4.5 is affected.
- Version 4.9.170 and below 4.10 is affected.
- Version 4.14.113 and below 4.15 is affected.
- Version 4.19.36 and below 4.20 is affected.
- Version 4.20 is affected.
- Before 4.20 is unaffected.
- Version 6.6.140, <= 6.6.* is unaffected.
- Version 6.12.88, <= 6.12.* is unaffected.
- Version 6.18.30, <= 6.18.* is unaffected.
- Version 7.0.7, <= 7.0.* is unaffected.
- Version 7.1-rc3, <= * is unaffected.