SIGSEGV with timeouted WiFi 6 driver

Jouni Malinen j at
Fri Dec 22 01:27:27 PST 2023

On Wed, Dec 20, 2023 at 12:10:39PM +0100, Maciej Witkowski wrote:
> When driver mt7921u is in timeouted state, every time I start hostapd, it
> crashes with SIGSEGV.
> The driver or the device is faulty [1] but it's independent to the hostapd
> issue,
> because hostapd should exit normally, without memory violations.
> # /root/hostapd -P /run/ /etc/hostapd/hostapd.conf
> Could not set interface wlan1 flags (UP): Connection timed out
> nl80211: Could not set interface 'wlan1' UP
> nl80211: deinit ifname=wlan1 disabled_11b_rates=0
> nl80211: remove link (0) failed. ret=-100 (Network is down)
> Segmentation fault

Thanks for reporting this. There were a couple of regressions in the AP
mode deinit path for this type of error cases. These are now fixed in
the following commits:

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list