Re: [PATCH v2] wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()

2022-08-08 Thread Kalle Valo
Wen Gong wrote: > When peer delete failed in a disconnect operation, use-after-free > detected by KFENCE in below log. It is because for each vdev_id and > address, it has only one struct ath10k_peer, it is allocated in > ath10k_peer_map_event(). When connected to an AP, it has more than > one HT

Re: [PATCH v2] wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()

2022-08-02 Thread Kalle Valo
Wen Gong writes: > When peer delete failed in a disconnect operation, use-after-free > detected by KFENCE in below log. It is because for each vdev_id and > address, it has only one struct ath10k_peer, it is allocated in > ath10k_peer_map_event(). When connected to an AP, it has more than > one H

[PATCH v2] wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()

2022-08-01 Thread Wen Gong
When peer delete failed in a disconnect operation, use-after-free detected by KFENCE in below log. It is because for each vdev_id and address, it has only one struct ath10k_peer, it is allocated in ath10k_peer_map_event(). When connected to an AP, it has more than one HTT_T2H_MSG_TYPE_PEER_MAP repo