What’s Vulnerable › Vulnerabilities

CVE-2025-21982: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.20, 6.13.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21982 or the next vulnerability affects your stack