# CVE-2025-38654: pinctrl: canaan: k230: Fix order of DT parse and pinctrl register

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-08-22T16:00:58.153Z
- Modified: 2026-06-17T09:17:18.787Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 545887eab6f6776a7477fe7e83860eab57138b03 before 02c1deb1bff2b6d242e29a51e56107495979a2b8; from 545887eab6f6776a7477fe7e83860eab57138b03 before 0ec03251d01494ef207089b5bd626becfd05fd86; from 545887eab6f6776a7477fe7e83860eab57138b03 before d94a32ac688f953dc9a9f12b5b4139ecad841bbb; 6.13 (not affected: before 6.13; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.13 before 6.15.10; from 6.16 before 6.16.1

## References

- <https://git.kernel.org/stable/c/02c1deb1bff2b6d242e29a51e56107495979a2b8> (patch)
- <https://git.kernel.org/stable/c/0ec03251d01494ef207089b5bd626becfd05fd86> (patch)
- <https://git.kernel.org/stable/c/d94a32ac688f953dc9a9f12b5b4139ecad841bbb> (patch)

## Sources

- CVE List: [CVE-2025-38654](https://www.cve.org/CVERecord?id=CVE-2025-38654), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38654](https://nvd.nist.gov/vuln/detail/CVE-2025-38654), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38654 · Whole record: https://cve.day/CVE-2025-38654.json · Rebuilt by cve.day 2026-11-25T22:59:03.545Z
