summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2026-04-16 11:33:39 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-04-27 12:37:54 +0200
commitc623b63580880cc742255eaed3d79804c1b91143 (patch)
tree9a8063a3513ea726aa627dcc137a45dd419e3a97 /scripts
parent711a9c018ad252b2807f85d44e1267b595644f9b (diff)
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(). Cc: stable@vger.kernel.org Fixes: 373c83a801f1 ("brcmfmac: stop watchdog before detach and free everything") Fixes: a9ffda88be74 ("brcm80211: fmac: abstract bus_stop interface function pointer") Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Link: https://patch.msgid.link/20260416093339.2066829-1-m.szyprowski@samsung.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions