pinctrl: canaan: k230: Fix order of DT parse and pinctrl register
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.15.106.16.16.17In 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.
From the CVE record · Linux
The Linux kernel's Canaan K230 pinctrl code registers pinctrl before parsing the device tree, which can cause it to use uninitialized pin resources. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the Canaan K230 pinctrl driver should check their versions; affected versions are not specified.