From mboxrd@z Thu Jan 1 00:00:00 1970 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 3A8F3235078 for ; Thu, 10 Jul 2025 07:42:52 +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=1752133373; cv=none; b=mPio6K41xh4vcxyb7Dn7Yzf8IB/N/qp/Mx++zWF2JKvZ3zyRQR38lTdvg8+1O+vKXNS7TM1n0Vhv4RiCav64BHWofEviuABU+FsrIzGU/ai580hyKqVLySPf88w8B2CKHAr8qWQgO3M6rk+XJPNvjT/l3QaoyRHbNVIssiW935g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133373; c=relaxed/simple; bh=NVxnEYSWW3x48LA6W2l+ckPy/gIXy26rM3t0XNWQPuQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oRlgpTiQ7Ugp3wcrb4yYUFJSd8Y36JUZ17B34NRr4f+ZxNHaGGFVFqNksaqBnisCj3arIM5eIw6P66ZV3zG5E4mcYrwR1jNyBIHfm7CZhZrZNPsUYUc8oFKVgb31VE8DkSS7u0OGXqZB9a6dqz10EOvX+PFvgaWBSfGXVFVSJzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=obbUajDE; 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="obbUajDE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7062EC4CEE3; Thu, 10 Jul 2025 07:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133372; bh=NVxnEYSWW3x48LA6W2l+ckPy/gIXy26rM3t0XNWQPuQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=obbUajDE98SygUgEvhOQmPEeF/+2mB7YryWDsN84qXq2dq091dNczVDY/dKJYvMNG ztYsD5vdvY7pcsJHxeUi+aJGGdmCpH52DRrOy4YAn6DYhUsOOg0xa0cW6qhQ3gEVns HvOgk3Ybq7bfei+AkLcENGnoJNy4W0O8wmyyrAsg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38286: pinctrl: at91: Fix possible out-of-boundary access Date: Thu, 10 Jul 2025 09:42:27 +0200 Message-ID: <2025071010-CVE-2025-38286-eab7@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=3435; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DDNGoqAaI1/cyhoneP+vq0Onwz5NIvPANluOO0z2/Nw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eZcUv2c7i+qKHgs+/GvPG7Vg2bXaGRGmRbKrkplv6 JZdrFneEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJ+8mwYN6Bw0xP5r66kZ0l 2B16mrtkh7Y6K8NckZ0S+/ZU/Zql6p5SEPNx5h+NF+oXAQ== 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: pinctrl: at91: Fix possible out-of-boundary access at91_gpio_probe() doesn't check that given OF alias is not available or something went wrong when trying to get it. This might have consequences when accessing gpio_chips array with that value as an index. Note, that BUG() can be compiled out and hence won't actually perform the required checks. The Linux kernel CVE team has assigned CVE-2025-38286 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 5.4.295 with commit 264a5cf0c422e65c94447a1ebebfac7c92690670 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 5.10.239 with commit db5665cbfd766db7d8cd0e5fd6e3c0b412916774 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 5.15.186 with commit 2ecafe59668d2506a68459a9d169ebe41a147a41 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 6.1.142 with commit f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 6.6.94 with commit eb435bc4c74acbb286cec773deac13d117d3ef39 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 6.12.34 with commit e02e12d6a7ab76c83849a4122785650dc7edef65 Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 6.15.3 with commit 288c39286f759314ee8fb3a80a858179b4f306da Issue introduced in 3.8 with commit 6732ae5cb47c4f9a72727585956f2a5e069d1637 and fixed in 6.16-rc1 with commit 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1 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-38286 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/pinctrl/pinctrl-at91.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/264a5cf0c422e65c94447a1ebebfac7c92690670 https://git.kernel.org/stable/c/db5665cbfd766db7d8cd0e5fd6e3c0b412916774 https://git.kernel.org/stable/c/2ecafe59668d2506a68459a9d169ebe41a147a41 https://git.kernel.org/stable/c/f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478 https://git.kernel.org/stable/c/eb435bc4c74acbb286cec773deac13d117d3ef39 https://git.kernel.org/stable/c/e02e12d6a7ab76c83849a4122785650dc7edef65 https://git.kernel.org/stable/c/288c39286f759314ee8fb3a80a858179b4f306da https://git.kernel.org/stable/c/762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1