5.5medium
pinctrl: canaan: k230: add NULL check in DT parse
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In 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".
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 545887eab6f6776a7477fe7e83860eab57138b03 before b5ae84aeff60b8819e8568ff0c57590caed9e6d3, from 545887eab6f6776a7477fe7e83860eab57138b03 before 5d324b262c0ff256b8d603596574d66267b6394f, from 545887eab6f6776a7477fe7e83860eab57138b03 before 65bd0be486390fc12a84eafaad78758c5e5a55e6, 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 * | CVE List |
| linux linux_kernel | from 6.13 before 6.15.10, from 6.16 before 6.16.1 | NVD |
Classification
What each source says
CVE List
In 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".
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: canaan: k230: añadir comprobación NULL en el análisis DT. Se añade una comprobación NULL para el valor de retorno de of_get_property() al recuperar la propiedad "pinmux" en el analizador de grupo. Esto evita una posible desreferencia de puntero NULL si la propiedad no se encuentra en el nodo del árbol de dispositivos. También se corrige un error tipográfico ("sintenel") en el comentario de la tabla de coincidencias de ID de dispositivo, corrigiéndolo a "sentinel".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38655 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-38655 changed 2026-06-17 | Public domain |