In the Linux kernel, the following vulnerability has been resolved: 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.
https://git.kernel.org/stable/c/f6a3ccfc8d6f6d0fb8a20bfb49ede223f151b8e8
https://git.kernel.org/stable/c/c6c8bc355657115664131b38c53c5ddf7d93b072
https://git.kernel.org/stable/c/ac7558126767d26198c94d21cdfe8a920ccccb79
https://git.kernel.org/stable/c/9389b2a21223032ab7d873806d283cc33bc34b01