[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3cb5372a-aa11-4184-8f3d-969ee25e0642@quicinc.com>
Date: Thu, 19 Oct 2023 10:30:56 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Johan Hovold <johan+linaro@...nel.org>,
Kalle Valo <kvalo@...nel.org>
CC: <ath12k@...ts.infradead.org>, <linux-wireless@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH 1/2] wifi: ath12k: fix dfs-radar and temperature event
locking
On 10/19/2023 4:36 AM, Johan Hovold 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.
>
> 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>
Powered by blists - more mailing lists