Mesh with SAE leads to crash
Summary
The NetworkManager seems to be crashing and restarting when trying to start a connection that has mode mesh
and uses the key-mgmt sae
. Trying to start a mesh network with SAE using wpa_supplicant seems to work fine (see below for working config). The verbose log of NetworkManager is attached below.
Version affected
- NetworkManager: 1.44.0
- wpa_supplicant: 2.10
- Kernel: 5.15.34-v8
- driver: ath9k / ath10k_pci
Steps to reproduce
- create a new mesh connection using following command:
nmcli c add type wifi ifname wlp1s0 ssid testmesh 802-11-wireless.mode mesh 802-11-wireless.band bg 802-11-wireless.channel 7 connection.id testmesh ipv4.addresses 192.168.33.101/24 ipv4.method manual wifi-sec.key-mgmt sae wifi-sec.psk "testpassword"
- try to start connection:
nmcli c u testmesh
working example with wpa_supplicant:
network={
ssid="secure mesh"
mode=5
frequency=2437
key_mgmt=SAE
psk="very secret passphrase"
}
Actual result
Network manager crashes and restarts.
- Assertion in NetworkManager-1.44.0/src/core/devices/wifi/nm-device-wifi.c:826 called
- corresponding if clause seems to be true because ap cannot be inserted into the hash table
Expected result
Mesh created and using encryption with specified psk