CVE-2026-46187·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.11% — higher than 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to resolve a use-after-free vulnerability in the RSI WiFi driver's kthread management. The vulnerability occurs when the kthread self-exits before an external stop request completes, leading to memory corruption. Ensure your system applies the latest kernel patches through your distribution's update mechanism.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running: uname -r
- Step 2: Verify if RSI WiFi driver is loaded with: lsmod | grep rsi
- Step 3: Search system logs for kernel warnings related to kthread cleanup: sudo journalctl -xe | grep -i 'rsi\|kthread\|uaf'
- Step 4: After applying the update, confirm the new kernel version: uname -r and verify it is 7.0.7 or later
FAQ
What is CVE-2026-46187?
This is a use-after-free vulnerability in the Linux kernel's RSI WiFi driver that occurs due to improper synchronization between self-exiting kthreads and external stop requests. When kthread_complete_and_exit() is called before kthread_stop(), the kthread object is freed but then accessed again, causing memory corruption.
Is CVE-2026-46187 being actively exploited?
No, this vulnerability is not currently being actively exploited in the wild according to CISA and no public exploits are available. It requires local access and specific timing conditions to trigger.
What versions of Kernel are affected by CVE-2026-46187?
Linux kernel versions 6.19 through 7.0.6 are vulnerable. The fix is included in kernel version 7.0.7 and later.
How do I check if my server is vulnerable to CVE-2026-46187?
Run 'uname -r' to check your kernel version. If it shows a version between 6.19 and 7.0.6 (inclusive) and the RSI driver is loaded ('lsmod | grep rsi'), your system is vulnerable.
Does Defensia detect CVE-2026-46187?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46187 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/16d9f674c619838bdeae42abc0929c9c5477ea1f
- https://git.kernel.org/stable/c/4ac3095da22fc50e51ec10c3b8323c21ab3e441a
- https://git.kernel.org/stable/c/4f4c9b13c485abd0a2d2c97f9db339d1dd8e147f
- https://git.kernel.org/stable/c/4f697813162d5f9151726a6d2bee82bffe4b0256
- https://git.kernel.org/stable/c/4f9a4ae8d2c198f01611ea376034c326ef43ab56
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46187. Free for 1 server.
Get started free