Re: Crash in hostapd_eid_time_adv with DFS CAC

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

 



On Mon, Mar 01, 2021 at 11:35:01PM +0100, michael-dev wrote:
> this is the logs resulting in the crash.
> 
> It can be seen that we have DFS-RADAR-DETECTED on wlan1, wlan1: interface
> state ENABLED->DISABLED, and later wlan1 is reenabled.
> Thus hostapd_disable_iface -> hostapd_free_hapd_data ->
> wpabuf_free(hapd->time_adv) when wlan1 becomes disabled.
> Later when wlan1 is re-enabled, hapd->time_adv points to a freed pointer, as
> - different to e.g. hapd->radius - it is not cleared after freeing.
> 
> Please find attached a patch that addresses this.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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