wifi: brcmfmac: Fix potential use-after-free issue when stopping watchdog task
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a9ffda88be7416b8336f644806c2b3ed3ce08b26 · < 658d2e46c2e9a8eb9b80c5e803ce3c89885b3366| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: brcmfmac: Fix potential use-after-free issue when stopping watchdog task
Watchdog task might end between send_sig() and kthread_stop() calls, what results in the use-after-free issue. Fix this by increasing watchdog task reference count before calling send_sig() and dropping it by switching to kthread_stop_put().
From the CVE record · Linux
The Linux kernel’s brcmfmac Wi-Fi driver has a potential use-after-free when stopping its watchdog task. It can occur if the task ends between send_sig() and kthread_stop(). The input does not specify an attacker action or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the brcmfmac driver should check their versions; affected versions were not provided.