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 DF9AF41C2EC for ; Wed, 4 Feb 2026 16:05:10 +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=1770221110; cv=none; b=GuLw6vHBPDDptCks6twhvWnsdEJQ1j11I+u0CLNrb6lgO2s77xMPVJKf1j2U4CKG09aNo7557Pm4ELFTsJI3NnG0T79BWDY5dHGzJQqZ/DLbLX6xykXpZZCOLTjW5TS90G5S/YR22DOQW9+56T73rXQNl59MC0iR7NDfJ11Et7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770221110; c=relaxed/simple; bh=24LfuEnlhmC0lml9fqNfdY8NDEPBnOXRF0o64FLgorM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WI8fyeN9MOYJCtE7u41etwX1LwGW8EIN4hXrlP3R77JHIiTHoQpKmwnNro7Lq0asr1v7oY0eiCoJ78mhS0kvG2ybAlkTFdg8q9dJKeAgYODfLv+htkn4hUyTYUzv60JeSxvrxBSQBlHW8NGQjUkXq1fkV/Jleh69TZuRtCJZdcI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=V67Y5BvB; 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="V67Y5BvB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20D4AC4CEF7; Wed, 4 Feb 2026 16:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770221110; bh=24LfuEnlhmC0lml9fqNfdY8NDEPBnOXRF0o64FLgorM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=V67Y5BvBVVcEo7sXsi1PPPRTEydM5aw0KRflzX6zy2hTPfQ+nTc4TRicTOFjFl2D/ u11IQ/aKaHhb0EqyOSGXO2Fpbvc8XnXsPNkZC2U7tj+35nwRk8PmIyD/C+931xvoMK voGx1WXkODszEEgssle9/J/2sEjUF536jFBb0fdI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71196: phy: stm32-usphyc: Fix off by one in probe() Date: Wed, 4 Feb 2026 17:04:43 +0100 Message-ID: <2026020449-CVE-2025-71196-cf4b@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2579; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=61SAPR5Xop+Na3X5IXKfCxWuoiPI+hLJ/eR1uEvXFj4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNeYqe8fpfItp7bwRXHH569k2Q7nP3jvyyJd9PfL5xr qmRY4N+RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEW5Rhnt6tv8mWF20n9Vb0 cRhwBhfkctcIMCxYX1Cwf3+pKoumYoXbyeDz6oXaDxwA 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: phy: stm32-usphyc: Fix off by one in probe() The "index" variable is used as an index into the usbphyc->phys[] array which has usbphyc->nphys elements. So if it is equal to usbphyc->nphys then it is one element out of bounds. The "index" comes from the device tree so it's data that we trust and it's unlikely to be wrong, however it's obviously still worth fixing the bug. Change the > to >=. The Linux kernel CVE team has assigned CVE-2025-71196 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 94c358da3a0545205c6c6a50ae26141f1c73acfa and fixed in 6.6.122 with commit 76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c Issue introduced in 4.17 with commit 94c358da3a0545205c6c6a50ae26141f1c73acfa and fixed in 6.12.67 with commit b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad Issue introduced in 4.17 with commit 94c358da3a0545205c6c6a50ae26141f1c73acfa and fixed in 6.18.7 with commit 7c27eaf183563b86d815ff6e9cca0210b4cfa051 Issue introduced in 4.17 with commit 94c358da3a0545205c6c6a50ae26141f1c73acfa and fixed in 6.19-rc6 with commit cabd25b57216ddc132efbcc31f972baa03aad15a 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-71196 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/phy/st/phy-stm32-usbphyc.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/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c https://git.kernel.org/stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad https://git.kernel.org/stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051 https://git.kernel.org/stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a