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 A5AC12797AE for ; Sat, 4 Oct 2025 15:54:17 +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=1759593257; cv=none; b=FIGJ/fnw3I/MmYP2JBqb01bg3+kSpSoBxEr6E15mLDAsv0RinWQ1ptKLfBNSS28HIr7hll3kcHrsueAvOVoIpbZWc6vO/IDgT/GHFcwVYKxsYrSrFjXCWkqIlIid63B/Vqy5pzNq8/biVs1Xdyl4cjYTPCi1509x4Kv5Jj//FhI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593257; c=relaxed/simple; bh=NZgABA1GLyW6qLT2JAFrcUmxHlM3Lf6VcrLkbkWiLiY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O3nszF25GnWbc0t2RcIi8p7NJyVgPQsks16c0nkTizwWsMuNoRMdeU/pzAodkejO6qtlM0WbY3nkP2NPesVPsEjnJvsDDb+5DA571u+mfrabqj1i/wp1aLqMDTnGR8j2/66ut/JXwetBAJaNe86zBhyfUgHuPZ7Dz6Tmi0d1rKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kRaUfjdi; 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="kRaUfjdi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31A8CC4CEF1; Sat, 4 Oct 2025 15:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759593257; bh=NZgABA1GLyW6qLT2JAFrcUmxHlM3Lf6VcrLkbkWiLiY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kRaUfjdigLT5QDnbeDl4L//NyFRygVThxrlQYBVWqV8uEu/jtS4RrAzO/nn/MyQ8l ETOA3mscaVVFMlXlHpuJtzjZwmkXB0ibSTTTN6wQyeoVCgACgCPLB9V+Djo+2qTdAe C3vpvyO+oMoT0zZnD/Ln6Pd5UeQ650u51fkuKleU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53602: wifi: ath11k: fix memory leak in WMI firmware stats Date: Sat, 4 Oct 2025 17:51:56 +0200 Message-ID: <2025100431-CVE-2023-53602-2de6@gregkh> X-Mailer: git-send-email 2.51.0 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=u/kdyZ0zDW9IvbFtiacNURQF7z62bc5MQLaqEy7Heio=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPnZq16/Yx5q7U2LSKrfj65bBu+2Nb2j7kah/uVPTW1 H/7+KhoRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE+RTDgomSFdE117b+eKzQ lHvl/Bt/n/SpXAzzFM516i74L+zBppN6bgPHlpmHDKc9AgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix memory leak in WMI firmware stats Memory allocated for firmware pdev, vdev and beacon statistics are not released during rmmod. Fix it by calling ath11k_fw_stats_free() function before hardware unregister. While at it, avoid calling ath11k_fw_stats_free() while processing the firmware stats received in the WMI event because the local list is getting spliced and reinitialised and hence there are no elements in the list after splicing. Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2023-53602 to this issue. Affected and fixed versions =========================== Fixed in 6.1.42 with commit 86f9330a49d1464849482298dd34d361859183eb Fixed in 6.4.7 with commit 55248d36beb79d3a61c9fb3122dc377fff523c89 Fixed in 6.5 with commit 6aafa1c2d3e3fea2ebe84c018003f2a91722e607 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-53602 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/ath11k/mac.c drivers/net/wireless/ath/ath11k/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/86f9330a49d1464849482298dd34d361859183eb https://git.kernel.org/stable/c/55248d36beb79d3a61c9fb3122dc377fff523c89 https://git.kernel.org/stable/c/6aafa1c2d3e3fea2ebe84c018003f2a91722e607