[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025082238-CVE-2025-38654-20b7@gregkh>
Date: Fri, 22 Aug 2025 18:01:02 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38654: pinctrl: canaan: k230: Fix order of DT parse and pinctrl register
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists