|
I have a Raspberry Pi 4b and a wifi USB dongle Alfa AWUS036ACM When I run: and the Pi stops responding. Checking in dmesg, I see this: OS information: Archlinux ARM AArch64 Some attempts at debugging this: I don't have NetworkManager running. I tried with iwd enabled/disabled, same error. Services running (I have the same behavior when iwd is disabled): Anything else I can try? |
Replies: 14 comments 1 reply
|
I've installed Linux kernel 6.9.10 and a can reproduce it: The driver crashes immediately after the device entered promiscuous mode and tries to inject the first frame. To make sure it really isn't hcxdumptool it can be reproduced running aireplay-ng: BTW: While the LTS kernel is still working as expected: ALFA AWUS036ACM Looks like a driver error because the LTS kernel is not affected. |
|
Linux Kernel 5.15.150 (OpenWRT) 23.05 is also working as expected. |
|
|
|
Going back to the last kernel that is not broken is an excellent idea. Over the last several months, there has been an extraordinary amount of new code added to the wifi stack and we are regularly seeing bug reports caused by this modernization of the stack. Adding WiFi 7 support can cause bugs in drivers that not WiFi 7. It will take time. |
|
Thanks for the answers! For anyone curious on how to do it on archlinux ARM: Or just download the |
|
@olivervbk I started to bisect the Linux kernel, because this "kernel NULL pointer dereference at virtual address 0000000000000000" is a fatal error. |
|
Just to mention it here: bisecting the Linux kernel is a slow process and it will take a lot of time (even on my AMD Ryzen 7 5700G): @olivervbk mentioned that kernel 6.8 is not affected. |
|
Some good news. If someone is interested, this is git bisect log: |
|
@morrownr |
|
We now have a working patch: The kernel developers have done a great work! |
|
Thank you for your work in identifying, bisecting and reporting several bugs lately. |
|
@morrownr Regarding mt76, last working (monitor mode and frame injection) kernel versions are @olivervbk |
|
BTW: |
|
Hey everyone! I've run into a somewhat similar frame injection bug on Linux 6.9.x, but this time it seems to be linked to a Realtek card. If anyone out there has a Realtek USB wireless card, could you please test it out and see if you can reproduce the issue? |
I've installed Linux kernel 6.9.10 and a can reproduce it:
The driver crashes immediately after the device entered promiscuous mode and tries to inject the first frame.
To make sure it really isn't hcxdumptool it can be reproduced running aireplay-ng:
BTW:
The driver crashes my entire notebook and I have to power it off (hard reset).
While the LTS kernel is still working as expected:
ALFA AWUS036ACM