trouble with commit: AP: Support disconnect with MLD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

something is broken in commit

01677c47fb13976e078b5a2157aa6bebf19f1731
AP: Support disconnect with MLD

I've setup a 2G AP in WPA-PSK/SAE mixed mode. All clients which using WPA-PSK will be disconnect after a few seconds:

Sun Jan 12 08:22:13 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: authenticated
Sun Jan 12 08:22:13 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: associated (aid 2)
Sun Jan 12 08:22:13 2025 daemon.notice hostapd: Assigned VLAN ID 30 from wpa_psk_file to cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:13 2025 daemon.notice hostapd: 2G-ap4: AP-STA-CONNECTED cc:cc:cc:cc:cc:cc auth_alg=open
Sun Jan 12 08:22:13 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc RADIUS: starting accounting session 56536DE552E6BC0A
Sun Jan 12 08:22:13 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc WPA: pairwise key handshake completed (RSN)
Sun Jan 12 08:22:13 2025 daemon.notice hostapd: 2G-ap4: EAPOL-4WAY-HS-COMPLETED cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:28 2025 daemon.notice hostapd: 2G-ap4: AP-STA-DISCONNECTED cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:28 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: disassociated
Sun Jan 12 08:22:29 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Jan 12 08:22:32 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: authenticated
Sun Jan 12 08:22:32 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: associated (aid 10)
Sun Jan 12 08:22:32 2025 daemon.notice hostapd: Assigned VLAN ID 30 from wpa_psk_file to cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:32 2025 daemon.notice hostapd: 2G-ap4: AP-STA-CONNECTED cc:cc:cc:cc:cc:cc auth_alg=open
Sun Jan 12 08:22:32 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc RADIUS: starting accounting session 2CDFE1FDFC5A326C
Sun Jan 12 08:22:32 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc WPA: pairwise key handshake completed (RSN)
Sun Jan 12 08:22:32 2025 daemon.notice hostapd: 2G-ap4: EAPOL-4WAY-HS-COMPLETED cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:45 2025 daemon.notice hostapd: 2G-ap4: AP-STA-DISCONNECTED cc:cc:cc:cc:cc:cc
Sun Jan 12 08:22:45 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: disassociated
Sun Jan 12 08:22:46 2025 daemon.info hostapd: 2G-ap4: STA cc:cc:cc:cc:cc:cc IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

This is repeated continuously. There is no stable connection.

I've setup a 5G AP in WPA-EAP mode using the internal radius server. Clients (windows 10) can connect and the connection is stable.
If I reboot a client, hostapd crashes with a page fault. Output from gdb:

Core was generated by `/usr/sbin/hostapd -s -g /var/run/hostapd/global'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x5560a4a8 in eapol_port_timers_tick (eloop_ctx=0x0, timeout_ctx=0x775e9240) at ../src/eapol_auth/eapol_auth_sm.c:180
180             if (state->eap_if->retransWhile > 0) {

I'm using hostap on OpenWrt. OpenWrt does update hostap to the version from 2025/01/01.

If I revert the mentioned commit only, I see no issues.

Regards,
Hartmut

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux