Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.7, < 6.12.20 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821Patch
- https://git.kernel.org/stable/c/a585f6ea42ec259a9a57e3e2580fa527c92187d0Patch
- https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999Patch
FAQ
What is CVE-2025-21982?
CVE-2025-21982 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 r...
How severe is CVE-2025-21982?
CVE-2025-21982 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-21982?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.