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 D18DE22AE75 for ; Tue, 20 May 2025 15:59:01 +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=1747756741; cv=none; b=qY/VBv/50cTO3qBxm5nAd7V6AgO6VszZzqEbu+/46L0gob3xBU7quzYOePUa/bxliYQHD/n2hb9ii2eXB7qu+ctJOEIy9Wg7xioF4WlWFisHBrd6Syq3Ycyy3sLwGTX8bGGQ1K1yeGvNwuGO+ZAsZERpWGk8PrQN0MXFSSjIcRM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747756741; c=relaxed/simple; bh=fKbHJedcoIqlLNzMvDWmPfE8wmD1DNFUsNQ5shtksaA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fEJbMJL4Ey53i32l7R77tzg6mFZ3Qi4017DqPYb2DDqZp42BL1FGryNIhkitSFCyaTf0dTdZscAjrLg/7CnJ5IHcxdY/767k8QCFwpzZkGRTjjXsGmHONn1JeHYXANJIyrc5fS4c5V61gdRrQRdxPsCQwzFCcUC+Hd7zp47Q3WA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qx671eJg; 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="Qx671eJg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA703C4CEE9; Tue, 20 May 2025 15:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747756741; bh=fKbHJedcoIqlLNzMvDWmPfE8wmD1DNFUsNQ5shtksaA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Qx671eJgQoOoumahufZ3lZ1pg8KFvZED90v/nMp90xFC0MEI3N/dMVZv5pddGrgJ4 oYcox+iRyskxr5AIaxYIhgzj5+DX0pkgmZf6FIIoFgLls5FK6ghlc3PAUBcnesFjG8 urar+qEA/AetjmJzYyqyg8+xplY9n7lCMrF2hCNU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37943: wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi Date: Tue, 20 May 2025 17:58:32 +0200 Message-ID: <2025052043-CVE-2025-37943-9cf8@gregkh> X-Mailer: git-send-email 2.49.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=2660; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9LkRlMRKoNWfeB87dWdo9sgkn+dVpdACt2Ih98My45k=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6y7a8jP7sfG6737wL+YHdf85PW8ruvS/zXulb0x2rj seeujzXtyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8msmw/ywGuvaGb7KTbpZ q51Ozcwt9Zpy9j/DgnWf6p58fyUgmCdw9KtYcZLPxdnPjQA= 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 invalid data access in ath12k_dp_rx_h_undecap_nwifi In certain cases, hardware might provide packets with a length greater than the maximum native Wi-Fi header length. This can lead to accessing and modifying fields in the header within the ath12k_dp_rx_h_undecap_nwifi function for DP_RX_DECAP_TYPE_NATIVE_WIFI decap type and potentially resulting in invalid data access and memory corruption. Add a sanity check before processing the SKB to prevent invalid data access in the undecap native Wi-Fi function for the DP_RX_DECAP_TYPE_NATIVE_WIFI decap type. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 The Linux kernel CVE team has assigned CVE-2025-37943 to this issue. Affected and fixed versions =========================== Fixed in 6.6.88 with commit 7f1d986da5c6abb75ffe4d0d325fc9b341c41a1c Fixed in 6.12.24 with commit 3abe15e756481c45f6acba3d476cb3ca4afc3b61 Fixed in 6.13.12 with commit 6ee653194ddb83674913fd2727b8ecfae0597ade Fixed in 6.14.3 with commit 50be1fb76556e80af9f5da80f28168b6c71bce58 Fixed in 6.15-rc1 with commit 9a0dddfb30f120db3851627935851d262e4e7acb 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-37943 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_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/7f1d986da5c6abb75ffe4d0d325fc9b341c41a1c https://git.kernel.org/stable/c/3abe15e756481c45f6acba3d476cb3ca4afc3b61 https://git.kernel.org/stable/c/6ee653194ddb83674913fd2727b8ecfae0597ade https://git.kernel.org/stable/c/50be1fb76556e80af9f5da80f28168b6c71bce58 https://git.kernel.org/stable/c/9a0dddfb30f120db3851627935851d262e4e7acb