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 B2C5931B123 for ; Wed, 24 Dec 2025 10:58:47 +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=1766573928; cv=none; b=i+DUtd94aC/S+Hv+nkw0s3sWym8FZB91+WWcli8+HuMpHuqfC2yE/KvGirwqHz5nsryYUvbBKd6p6bePmJCzHpmZkcC45MJButjZ0LELMHpGJ2qDvPdB43Orm8FI+PVIxFkmQql7knbtxCGtxpyBTa1YUcbqiL5P/zowD+PgvSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766573928; c=relaxed/simple; bh=4HLEw4VoD9T5ooHf9eDgsdEKvib5YWYJpq7SiigSSs0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mWh52x6rJQ7xgkS2/Qlo0wSqfoHLPEtKcJNHkaMJTn3ivCAYPUK5x74mYjbFOi+l+8AHK4ul5UcqL5SMh7yw+mzBYQwdTzcm2nWy7078BOaOTQJIGGlTMxzYN2NUu5wMXdisMPfP2WBmgK6xzOaZ/bkBgzHqlvyVoJ+avhWfnDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LrzLuiaw; 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="LrzLuiaw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE047C19422; Wed, 24 Dec 2025 10:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766573927; bh=4HLEw4VoD9T5ooHf9eDgsdEKvib5YWYJpq7SiigSSs0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=LrzLuiawyW+53mUdgyvobuCJZ36KeTg+MkjmjgWsTgucH0mQGQzciiL9/qF3ujLA/ 7jBunlD+7WuvLbkqUjdD1FdiCY1Y2XUgk/J5FedqPX6ClnFqY4yVM5kLhjqwy2d0My +dcShGy31jY2tulqZB/as+vpCR0E1gD5gUqijiho= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54016: wifi: ath12k: Fix memory leak in rx_desc and tx_desc Date: Wed, 24 Dec 2025 11:57:00 +0100 Message-ID: <2025122432-CVE-2023-54016-522e@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2188; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZK3jmkWY+/passCeQ9os4XgCeSAF+wI8aYq0dPvj3c0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnexx5EeK5+8zrjRE3ctPcyOcXHls9sMLWcsXyR3eLE+ 758nP8mdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEQj0YFizLlN7G6PPT/+xh q62vVA7pfep9OIFhfsQnyb87o9oybvEuPfe1/WqBYfuWBQA= 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: ath12k: Fix memory leak in rx_desc and tx_desc Currently when ath12k_dp_cc_desc_init() is called we allocate memory to rx_descs and tx_descs. In ath12k_dp_cc_cleanup(), during descriptor cleanup rx_descs and tx_descs memory is not freed. This is cause of memory leak. These allocated memory should be freed in ath12k_dp_cc_cleanup. In ath12k_dp_cc_desc_init(), we can save base address of rx_descs and tx_descs. In ath12k_dp_cc_cleanup(), we can free rx_descs and tx_descs memory using their base address. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2023-54016 to this issue. Affected and fixed versions =========================== Fixed in 6.5.5 with commit e16be2d34883eecfe7fd888fcdb76c7a5db5d187 Fixed in 6.6 with commit afb522b36e76acaa9f8fc06d0a9742d841c47c16 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-54016 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/dp.c drivers/net/wireless/ath/ath12k/dp.h 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/e16be2d34883eecfe7fd888fcdb76c7a5db5d187 https://git.kernel.org/stable/c/afb522b36e76acaa9f8fc06d0a9742d841c47c16