wl module under linux 6.6.5 causes iwd to deadlock
Description:
Using the broadcom-wl module with linux 6.6.5-arch1 from testing causes iwd to deadlock when trying to associate with an access point using a BCM4360 wireless card on an old Macbook Air (early 2015). Eventually other processes deadlock, including the system manger, rendering the system inoperable. The breaking change was introduced between 6.6.4 and 6.6.5. Unfortunately the deadlock does not reveal anything in the system journal or in dmesg.
By compiling my own kernel, I found that the culprit is commit 4a7e92551618f3737b305f62451353ee05662f57. When I revert this commit and compile the kernel, my system works as normal.
I am not sure whether this bug should be directed upstream at the kernel or at broadcom(?). Since this module taints the kernel it probably is not considered a kernel bug.
Additional info:
- linux(-headers) 6.6.5.arch1-1
- broadcom-wl-dkms 6.30.223.271-36
- iwd 2.10-1
Steps to reproduce:
- Install package versions indicated
- Reboot
- Wait for iwd to automatically try to associate
- Notice that any process that requests network status deadlocks