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 2D725256C71 for ; Fri, 22 Aug 2025 16:02:27 +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=1755878547; cv=none; b=j0+QsGdxuRynpt+UjR+YEzouybER+99T2MOeCUo5Rm1aJ3/vpOPeBn4xh9D1YA4a6DRaHYK6CCTVtbnhp+dXTMIIwLz9nu1UKfHhYQpqiV8UFcKWsyA8aaim8gYP+6TYVFCck+k9kQsjftHqDaXcNTn/d76QoW02pU/DPWm3jnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878547; c=relaxed/simple; bh=YHGu1O2XteUO8lx8ZmHQQ+ytgD9Y6OmnrSFyYhOtUJ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q5HsBds/HTWBOdovvtkDqVYjJWYkRadaYIj47F9W52mEiIKqVH275C7m8L3zIf8EpC9VvnDjCgP7CXq3Fab/dV3SwG+iBO2fW5UYrkRdop117PPB/uq6ZjR0lH9leUWX1Z8l3oLUibLZbM0i1i10zIL6WafD2Ag/pl++iubZMpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=stsmuDEC; 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="stsmuDEC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DC20C4CEF4; Fri, 22 Aug 2025 16:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878547; bh=YHGu1O2XteUO8lx8ZmHQQ+ytgD9Y6OmnrSFyYhOtUJ8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=stsmuDECSf0CLz6tG94YGzVaNTJd92OzgsGbQ0Js2mPdfH52WfXEmDMMxRAD0Pk+A 6tJ1T6ZuYuDuCuDgPypwSn12DbKg7sQwIOQBJFFquLwwV6NKHOjv9nIzNsHjbaBNbx kK/0V+ZFWJ2vnos7yy7FHYpifZfKlXuSq8rnhuYE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38654: pinctrl: canaan: k230: Fix order of DT parse and pinctrl register Date: Fri, 22 Aug 2025 18:01:02 +0200 Message-ID: <2025082238-CVE-2025-38654-20b7@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=2183; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Klo1GZInRhQ4DbtnryrlL6HmysBnw8Y+VVHeAe0IFKs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpqg9yZlnclT3lIMwm9HmkJlX5tiHKv2as2dK8myFX /s3VK382BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATieBnmCu6Y+vvTYxK39gZ 2kuP3qxTXCv+w4lhwTqtfbdCS3JVf4d6psclCCr6HftaDwA= 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: canaan: k230: Fix order of DT parse and pinctrl register Move DT parse before pinctrl register. This ensures that device tree parsing is done before calling devm_pinctrl_register() to prevent using uninitialized pin resources. The Linux kernel CVE team has assigned CVE-2025-38654 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.15.10 with commit 02c1deb1bff2b6d242e29a51e56107495979a2b8 Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.16.1 with commit 0ec03251d01494ef207089b5bd626becfd05fd86 Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.17-rc1 with commit d94a32ac688f953dc9a9f12b5b4139ecad841bbb 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-38654 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-k230.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/02c1deb1bff2b6d242e29a51e56107495979a2b8 https://git.kernel.org/stable/c/0ec03251d01494ef207089b5bd626becfd05fd86 https://git.kernel.org/stable/c/d94a32ac688f953dc9a9f12b5b4139ecad841bbb