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 8838821FF48 for ; Tue, 19 Aug 2025 17:21:33 +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=1755624093; cv=none; b=pUFylyzCRtzv/ULGfGLBB03ZIKO343MJnCLxq3czFPnQc5jYDiGZvqIEw3fjwRvaNFU+lOc1t/9fkFG2esQTSEjvrilgG0XyiYCOtEg5vfPnNZQpCfqt5DXuCdELzFmJk5vgSpijjS+r6V4xXLJHkkcFH9oUehYMsM1RKZg47gw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755624093; c=relaxed/simple; bh=8EaMppbKG4NPuKn3c4DlbUKTTbMy6cQHs2CClRQ+qSg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fdqFNACqZ9eLV0vLfoC1KgROJoV11b+dbWWUoiOTcBrkDg4FMtxSXltnDru11YneCQnJumuMPPnQSS3bt6odRJQ9AGHOdw4QR8GxfQrFiEr/Z1YSlHKE+SEuorkPiL11SxSGb8G+W3uZza6uQ0djSLqNH/IaVXYKFdJcyIRr0A8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iCfP0C0Y; 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="iCfP0C0Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FB49C4CEF1; Tue, 19 Aug 2025 17:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755624093; bh=8EaMppbKG4NPuKn3c4DlbUKTTbMy6cQHs2CClRQ+qSg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iCfP0C0YZzfpXLUp9cec6vhOBsPa/HisoxhqYUPntn0RjxoNAXNvyZ8Ke4Cny/tEn +Zi3w7mwW1rtUw849+UyR3ksYYKXd1ESrkr4fWxKridkcuhLRs8IjboPOCcQ98QfrY 0f6g0G7KuF8ueR6HP0uEXfeWKcgnf+moOflbVlUg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38600: wifi: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan() Date: Tue, 19 Aug 2025 19:18:46 +0200 Message-ID: <2025081920-CVE-2025-38600-dddc@gregkh> X-Mailer: git-send-email 2.50.1 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=1938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NUTXfyINGaGAhtJ3x4xol/nRpb4lIY1MICGhuEhDBb0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlLNt65dOLTAYa0OOtp6uej4r9HMV11OHPhU+/5/nnb7 yixSXs5dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBENvcyzGZpr/hSsjJVfpaD ss/pJUufCqwr02WYH9rQu8pqZvuN5Fb9OxMm7F4scK24HgA= 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: mt76: mt7925: fix off by one in mt7925_mcu_hw_scan() The ssid->ssids[] and sreq->ssids[] arrays have MT7925_RNR_SCAN_MAX_BSSIDS elements so this >= needs to be > to prevent an out of bounds access. The Linux kernel CVE team has assigned CVE-2025-38600 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 8284815ca161e0fa0861cc4085f1c0141e10a34d and fixed in 6.16.1 with commit 4d80d4fa986c5da99042b66bf30a028e7f564156 Issue introduced in 6.16 with commit 8284815ca161e0fa0861cc4085f1c0141e10a34d and fixed in 6.17-rc1 with commit b3a431fe2e399b2e0cc5f43f7e9d63d63d3710ee 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-38600 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/mediatek/mt76/mt7925/mcu.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/4d80d4fa986c5da99042b66bf30a028e7f564156 https://git.kernel.org/stable/c/b3a431fe2e399b2e0cc5f43f7e9d63d63d3710ee