2023-10-19 17:33:41

by Jeff Johnson

[permalink] [raw]
Subject: Re: [PATCH 2/2] wifi: ath12k: fix htt mlo-offset event locking

On 10/19/2023 4:36 AM, Johan Hovold wrote:
> The ath12k active pdevs are protected by RCU but the htt mlo-offset
> event handling code calling ath12k_mac_get_ar_by_pdev_id() was not
> marked as a read-side critical section.
>
> Mark the code in question as an RCU read-side critical section to avoid
> any potential use-after-free issues.
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Cc: [email protected] # v6.2
> Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Jeff Johnson <[email protected]>