pinctrl: canaan: k230: add NULL check in DT parse
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: add NULL check in DT parse
Add a NULL check for the return value of of_get_property() when retrieving the "pinmux" property in the group parser. This avoids a potential NULL pointer dereference if the property is missing from the device tree node.
Also fix a typo ("sintenel") in the device ID match table comment, correcting it to "sentinel".
From the CVE record · Linux
The Linux kernel’s Canaan K230 pinctrl group parser could dereference a NULL pointer when a device tree node lacks the "pinmux" property. The input does not specify an attacker action, access requirements, or whether user interaction is needed.
Engineers running Linux kernels with the Canaan K230 pinctrl driver should check their versions; affected versions were not provided.