Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B0C314535A for ; Tue, 21 May 2024 15:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305793; cv=none; b=tKhrVF9IKNmGIhXg1AwyqIlAzvBqueNsIBx1SlhcclJEbh1rpboIAK5aswivCGSHwSnXma4Ydg77+0zz/rYGl5Jpuq96Onv75A4//NsfmhuUWo+eSgxn8w8W1xHwLm/nK5ytlD/AxBOT50jT+HjmsXzwc3JN/0QyhJd1A4Xkzk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305793; c=relaxed/simple; bh=lfWjAkdOxa49nbe2m7sywB0G3Qc5NChk8lLAXYnqIQg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ghsXQtOdZbtE/SmyKSwAMkniJ+o5rX+JgTMGs8KeIzKIBu7v2Xb5tKRQxFOJnb7bjFPMolxJLIQUUqbTi1XaFpZ3BfHyfYZH9sy5ct/gLB+o/5N5wntduQ3PBi18rnkyRius/b8wBMAzUXxqgV4EswrWx5MvyHU/+NVnaeoS6eU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gfcB3Fnc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gfcB3Fnc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEEDAC2BD11; Tue, 21 May 2024 15:36:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305793; bh=lfWjAkdOxa49nbe2m7sywB0G3Qc5NChk8lLAXYnqIQg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gfcB3Fnc7ZY3K2kG+0EU5AgeBL44rdyBBK3LsBAbY1lw4AV7nrz6chAveq3CWXfd9 WFLnwfZtUJoVQFi3Uqym3HP9arC3w9czIaW0DalWQgPlnsdE3X5wFNCObcTElizMMn a4qgvWfki23lREHZHknECv7q5k20UM9jGNVvtxqs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52776: wifi: ath12k: fix dfs-radar and temperature event locking Date: Tue, 21 May 2024 17:31:12 +0200 Message-ID: <2024052152-CVE-2023-52776-1f55@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2281; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lfWjAkdOxa49nbe2m7sywB0G3Qc5NChk8lLAXYnqIQg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++3Rs91dUFB20nmsmez3vmtfa+vkGG4seFWQfMbb9V 3HtlKJoRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkfAXDPDWhD7pqX5tSvykm qDfP0+tj0krbwLDgWssEfqFz7z9Et0o1nxNalpsdkncCAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix dfs-radar and temperature event locking 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. The Linux kernel CVE team has assigned CVE-2023-52776 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit d889913205cf and fixed in 6.5.13 with commit 774de37c147f Issue introduced in 6.3 with commit d889913205cf and fixed in 6.6.3 with commit d7a5f7f76568 Issue introduced in 6.3 with commit d889913205cf and fixed in 6.7 with commit 69bd216e0493 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-52776 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/ath/ath12k/wmi.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/774de37c147fea81f2c2e4be5082304f4f71d535 https://git.kernel.org/stable/c/d7a5f7f76568e48869916d769e28b9f3ca70c78e https://git.kernel.org/stable/c/69bd216e049349886405b1c87a55dce3d35d1ba7