CVE-2025-21982

published 1 Apr 2025 · updated 11 May 2026

pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6a08a86e5aff8e65368ccd463348fdda26100821, Kernel a585f6ea42ec259a9a57e3e2580fa527c92187d0 and Kernel acf40ab42799e4ae1397ee6f5c5941092d66f999.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=acf4884a571709cad99f98aabe08b7cacd62dc80 <6a08a86e5aff8e65368ccd463348fdda26100821, >=acf4884a571709cad99f98aabe08b7cacd62dc80 <a585f6ea42ec259a9a57e3e2580fa527c92187d0, >=acf4884a571709cad99f98aabe08b7cacd62dc80 <acf40ab42799e4ae1397ee6f5c5941092d66f9996a08a86e5aff8e65368ccd463348fdda26100821, a585f6ea42ec259a9a57e3e2580fa527c92187d0, acf40ab42799e4ae1397ee6f5c5941092d66f999

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21982 severity on Zeptric[![CVE-2025-21982](https://zeptric.io/badge/cve/CVE-2025-21982.svg)](https://zeptric.io/cve/CVE-2025-21982)