diff options
| author | 2026-10-13 02:01:24 +0200 | |
|---|---|---|
| committer | 2026-10-13 13:59:38 +0200 | |
| commit | c6c8bc355657115664131b38c53c5ddf7d93b072 (patch) | |
| tree | 2703eabd3e1b096ee13b7c278fa442d5e22e4283 /scripts/Makefile.thinlto | |
| parent | wifi: mac80211: reserve MME tailroom for protected beacons (diff) | |
wifi: b43: fix use-after-free in b43_bcma_remove()
b43_one_core_detach() frees the struct b43_wldev it is given the bus
device of. b43_bcma_remove() then reads wldev->dev again to free the bus
device, which is a read of freed memory.
b43_ssb_remove() does not have the problem: it takes a copy of wldev->dev
at the start. Do the same here.
Fixes: 96838d61102a ("b43: Fix memory leaks in b43_bus_dev_ssb_init and b43_bus_dev_bcma_init")
Cc: stable@vger.kernel.org
Signed-off-by: Andreas Wendleder <gonsolo@gmail.com>
Link: https://patch.msgid.link/20261013000124.48605-1-gonsolo@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
