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 DDD2A35AAB1 for ; Thu, 11 Sep 2025 16:53:37 +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=1757609617; cv=none; b=fztHG2/2k2BjlZ/CBsrQV1SOLtwZALOIqqdrby5hRSwj92PeIt7VREgphEdr0tQ/8MKWCYJ3PsGkis7VHm+/RyAAqCMa6FHPDBoMDEpXLdLjc6TPkVwzO5H1sM4JXCmqBSZjBKI4bG/ytKA1pS/iDjFY9D+P9N2wPuH7XZDUPy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757609617; c=relaxed/simple; bh=2Y4mWZvjRybmuUmQ8vPoA5VyjGwghIvk2Kmqt0YMKdk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VNXuaQlpgicm8VwsWUI6ZilDV4KGs0S8tuLYtdVumi2G1ezZMluf52VIl1VwOGcqH5kLF3pKhRGvOr2U0hHnXyabBABLeiyTjCXGql+lEsjlvrsmpdrExElZEC8tqPdW1D3rbbqgvrQqO473gsufHJOkkYoUfJCz75sBgI6NE5k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k2SSH7n2; 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="k2SSH7n2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24ACBC4CEF0; Thu, 11 Sep 2025 16:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757609617; bh=2Y4mWZvjRybmuUmQ8vPoA5VyjGwghIvk2Kmqt0YMKdk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=k2SSH7n2mMxFLnJ4iqBC1yFTOQqoY9y/bbQJlN3fmkGHs8lKwvwItP+O8Kx9ZXWAX VERoA6lh3p4wJZZkHUSpw6uIzxHE+xjQ3pcEbbr4F8sSht+moJLTOTLNpVVknPcC1M iS24/ZKGd5OGyUO4Q53VV+uVWV1Ya+vSaohMmksk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39761: wifi: ath12k: Decrement TID on RX peer frag setup error handling Date: Thu, 11 Sep 2025 18:53:01 +0200 Message-ID: <2025091146-CVE-2025-39761-939b@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=2461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fbiSZTyQesquVcJRlLAdrT1L8tvX0dhHQE9eIonhCoo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmH/sUFnH5xwIzb6nUHo8y+SIYJnOmarv73FrrxxhrtN EjZPbWnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYi8pxhrmCm+Tf1355J+csP HpnivmrXUllhBoZ5ZvsLIza2JKnpVFx+yLc0oESX0bsNAA== 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: Decrement TID on RX peer frag setup error handling Currently, TID is not decremented before peer cleanup, during error handling path of ath12k_dp_rx_peer_frag_setup(). This could lead to out-of-bounds access in peer->rx_tid[]. Hence, add a decrement operation for TID, before peer cleanup to ensures proper cleanup and prevents out-of-bounds access issues when the RX peer frag setup fails. Found during code review. Compile tested only. The Linux kernel CVE team has assigned CVE-2025-39761 to this issue. Affected and fixed versions =========================== Fixed in 6.6.103 with commit eb1e1526b82b8cf31f1ef9ca86a2647fb6cd89c6 Fixed in 6.12.43 with commit 7c3e99fd4a66a5ac9c7dd32db07359666efe0002 Fixed in 6.15.11 with commit a3b73c72c42348bf1555fd2b00f32f941324b242 Fixed in 6.16.2 with commit 9530d666f4376c294cdf4348c29fe3542fec980a Fixed in 6.17-rc1 with commit 7c0884fcd2ddde0544d2e77f297ae461e1f53f58 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-2025-39761 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 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/eb1e1526b82b8cf31f1ef9ca86a2647fb6cd89c6 https://git.kernel.org/stable/c/7c3e99fd4a66a5ac9c7dd32db07359666efe0002 https://git.kernel.org/stable/c/a3b73c72c42348bf1555fd2b00f32f941324b242 https://git.kernel.org/stable/c/9530d666f4376c294cdf4348c29fe3542fec980a https://git.kernel.org/stable/c/7c0884fcd2ddde0544d2e77f297ae461e1f53f58