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 BA5F91FAC2B for ; Mon, 21 Oct 2024 18:05:08 +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=1729533908; cv=none; b=JWWOSGW7Rxil7MXh5Nt+RIravvDHS99pfw9viomGGTTDj9c3LeLHmQ0cbuohSg0FajeOg18CSHD4nQf5xW8qHNQ3z2I7OghkobaAlxWiLTu6CiKf5QMzNHe4SrBjiqlIe5GvORbawQTUIv6Uy8n52Ik6CpIo4HQi086bsLMzCnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533908; c=relaxed/simple; bh=+ioD5cxr9l4JoZzUBctSMDQTtv8hXt6YA8+5gmFTOTA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c+Zdt7eFzDU3lgNcnvsmYv5Nn8D+JwgNUStS4auhq1sgI+K3i9MuJd7crByAQlHxNkydolg9oW/6fXOR9mS7KAt2FEOFjLwlQnrbf9Eg11X9nhlHHAteoMedzylU1nBBmMczIkgw0xxMry/nM87K8aynA9+m15RIEX7PnRqRFMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J/ykxV8b; 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="J/ykxV8b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F240C4CEC3; Mon, 21 Oct 2024 18:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533908; bh=+ioD5cxr9l4JoZzUBctSMDQTtv8hXt6YA8+5gmFTOTA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=J/ykxV8bVeYrElQhDA7k3WHi5shV2E9981ltuut7EFtEU2HsNUu7kooLHtcm2k5Ib PQM4wLdrXWAz/OE8Fgm3OEd6S1CJKqtUJ+jeWzo1LS4vuqjQCoGlhQOwMxa9xVz1cr 8eKJ5td/ptUu2SGxKmXvNXtT7zTLUvyl6fzbbX3U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49930: wifi: ath11k: fix array out-of-bound access in SoC stats Date: Mon, 21 Oct 2024 20:02:18 +0200 Message-ID: <2024102125-CVE-2024-49930-34e8@gregkh> X-Mailer: git-send-email 2.47.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=2739; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+ioD5cxr9l4JoZzUBctSMDQTtv8hXt6YA8+5gmFTOTA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli077tSYio4zbx5FtU9+ZpXMK36z9OX06Zu2T+3HZjp vzKOHvPjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI+xWG+ZUXGE/eDhctVL4c 9c3x0oeGy2+ktjIsOFM0Y3nry+sqDRf+m7x0WDPB8HzKFAA= 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: ath11k: fix array out-of-bound access in SoC stats Currently, the ath11k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath11k_dp_process_rx() function access ath11k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath11k_dp_process_rx() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2024-49930 to this issue. Affected and fixed versions =========================== Fixed in 5.10.227 with commit 0f26f2694403 Fixed in 5.15.168 with commit 4dd732893bd3 Fixed in 6.1.113 with commit 73e235728e51 Fixed in 6.6.55 with commit 7a552bc2f3ef Fixed in 6.10.14 with commit 6045ef5b4b00 Fixed in 6.11.3 with commit 01b77f5ee11c Fixed in 6.12-rc1 with commit 69f253e46af9 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-49930 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/dp_rx.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/0f26f26944035ec67546a944f182cbad6577a9c0 https://git.kernel.org/stable/c/4dd732893bd38cec51f887244314e2b47f0d658f https://git.kernel.org/stable/c/73e235728e515faccc104b0153b47d0f263b3344 https://git.kernel.org/stable/c/7a552bc2f3efe2aaf77a85cb34cdf4a63d81a1a7 https://git.kernel.org/stable/c/6045ef5b4b00fee3629689f791992900a1c94009 https://git.kernel.org/stable/c/01b77f5ee11c89754fb836af8f76799d3b72ae2f https://git.kernel.org/stable/c/69f253e46af98af17e3efa3e5dfa72fcb7d1983d