5.5medium
pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw devm_kasprintf() calls can return null pointers on failure. But the return values were not checked in npcm8xx_gpio_fw(). Add NULL check in npcm8xx_gpio_fw(), to handle kernel NULL pointer dereference error.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from acf4884a571709cad99f98aabe08b7cacd62dc80 before a585f6ea42ec259a9a57e3e2580fa527c92187d0, from acf4884a571709cad99f98aabe08b7cacd62dc80 before 6a08a86e5aff8e65368ccd463348fdda26100821, from acf4884a571709cad99f98aabe08b7cacd62dc80 before acf40ab42799e4ae1397ee6f5c5941092d66f999, 6.7 Not affected: before 6.7, from 6.12.20 up to 6.12.*, from 6.13.8 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.12.20, from 6.13 before 6.13.8, 6.14 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw devm_kasprintf() calls can return null pointers on failure. But the return values were not checked in npcm8xx_gpio_fw(). Add NULL check in npcm8xx_gpio_fw(), to handle kernel NULL pointer dereference error.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: nuvoton: npcm8xx: Se ha añadido una comprobación de valores nulos en las llamadas a npcm8xx_gpio_fw devm_kasprintf(), que pueden devolver punteros nulos en caso de error. Sin embargo, los valores de retorno no se comprobaron en npcm8xx_gpio_fw(). Se ha añadido una comprobación de valores nulos en npcm8xx_gpio_fw() para gestionar el error de desreferencia de punteros nulos del kernel.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21982 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21982 changed 2026-06-17 | Public domain |