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 731B3145FE4 for ; Sat, 17 Aug 2024 09:23:54 +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=1723886634; cv=none; b=rz9UceV+78gssCwoI+NTPLcyv+pQKBCudU9B2K6++FoOpJm+nVKcVug8Ml6EloFjPSO2UYqgkpTRBHvx8G07sj6kCdGWXPxRxDX66jlQFhPQ7bQfon3+eUzt5jO9/BIUet7hjOrO3vnzby3l7FmRx3Atxffj/HQ6xTK+0qz9/xg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886634; c=relaxed/simple; bh=KhIv4Zxuq4TMnJOk+mDebFRQr2y8EtDzHoW6Fuc0ChI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LuugaZ+3z3yP0ktnAaKR3/ByQK7hWtorxXeSS9ofhfrJ+r5Npgp84DApoJ5RWa75T4wmlyR7YaLl2lrfPY2V7qYEpKDbHaFfor0TyReFFF+2OfHGPHqjcftvcyAAIZ1rZro/Xgybtwkd3tqGrQAafNu81YxZS5sq0/tRkM7aQqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cjanRcr4; 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="cjanRcr4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB3A7C116B1; Sat, 17 Aug 2024 09:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886634; bh=KhIv4Zxuq4TMnJOk+mDebFRQr2y8EtDzHoW6Fuc0ChI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cjanRcr4+ngdWrU+geqBtaBMzHGJa0408UYe4kXM8BdCYZ1GPUiJOMolTjmec06UP GtQwHOJ3HylXeYd6sm3RscNhcyk4ig7t0TkLJaliKokMSQ9iamL06WfL9nnDcYh/1h 3D4+AnWaI0byyCdQEalIEz/ABEbPWdBRe+PkbMVY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43847: wifi: ath12k: fix invalid memory access while processing fragmented packets Date: Sat, 17 Aug 2024 11:22:51 +0200 Message-ID: <2024081732-CVE-2024-43847-6828@gregkh> X-Mailer: git-send-email 2.46.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=2249; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KhIv4Zxuq4TMnJOk+mDebFRQr2y8EtDzHoW6Fuc0ChI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHsm9U7dik2b80rfHNtymRpRcYpDR81IU3bX2/3+P1x lZbx9CEjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIvtUM80NXza08L7DaxHvm JmG37Q2GMfGlDgyzmNZu9FV9mP9WUMn7z4FiS0HDK7p5AA== 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 invalid memory access while processing fragmented packets The monitor ring and the reo reinject ring share the same ring mask index. When the driver receives an interrupt for the reo reinject ring, the monitor ring is also processed, leading to invalid memory access. Since monitor support is not yet enabled in ath12k, the ring mask for the monitor ring should be removed. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00209-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2024-43847 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit d889913205cf and fixed in 6.6.44 with commit 8126f82dab7b Issue introduced in 6.3 with commit d889913205cf and fixed in 6.10.3 with commit 36fc66a7d9ca Issue introduced in 6.3 with commit d889913205cf and fixed in 6.11-rc1 with commit 073f9f249eec 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-2024-43847 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/hw.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/8126f82dab7bd8b2e04799342b19fff0a1fd8575 https://git.kernel.org/stable/c/36fc66a7d9ca3e5c6eac25362cac63f83df8bed6 https://git.kernel.org/stable/c/073f9f249eecd64ab9d59c91c4a23cfdcc02afe4