[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169822812144.891844.11172869557869063220.kvalo@kernel.org>
Date: Wed, 25 Oct 2023 10:02:03 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Johan Hovold <johan+linaro@...nel.org>
Cc: Jeff Johnson <quic_jjohnson@...cinc.com>,
ath12k@...ts.infradead.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org,
Johan Hovold <johan+linaro@...nel.org>, stable@...r.kernel.org
Subject: Re: [PATCH 1/2] wifi: ath12k: fix dfs-radar and temperature event
locking
Johan Hovold <johan+linaro@...nel.org> wrote:
> The ath12k active pdevs are protected by RCU but the DFS-radar and
> temperature 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 RCU read-side critical sections to avoid
> any potential use-after-free issues.
>
> Note that the temperature event handler looks like a place holder
> currently but would still trigger an RCU lockdep splat.
>
> Compile tested only.
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Cc: stable@...r.kernel.org # v6.2
> Signed-off-by: Johan Hovold <johan+linaro@...nel.org>
> Acked-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
2 patches applied to ath-next branch of ath.git, thanks.
69bd216e0493 wifi: ath12k: fix dfs-radar and temperature event locking
6afc57ea315e wifi: ath12k: fix htt mlo-offset event locking
--
https://patchwork.kernel.org/project/linux-wireless/patch/20231019113650.9060-2-johan+linaro@kernel.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists