VDB

CVE-2025-21982

CVE-2025-21982 PUBLISHED CVSS 5.5 MEDIUM

pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

Reported by linux · Published April 1, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxacf40ab42799e4ae1397ee6f5c5941092d66f999, a585f6ea42ec259a9a57e3e2580fa527c92187d0, 6a08a86e5aff8e65368ccd463348fdda26100821

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxacf4884a571709cad99f98aabe08b7cacd62dc80, acf4884a571709cad99f98aabe08b7cacd62dc80, acf4884a571709cad99f98aabe08b7cacd62dc80
LinuxLinux6.7, 0, 6.12.20
LinuxLinux*, 6.12.20, *
linuxlinux_kernel6.7, 6.7, 6.7

Timeline

  • Apr 1, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Apr 1, 2025 CVE Published
  • Apr 2, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (261 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (235 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21982
vulnetix vdb fixes CVE-2025-21982

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21982/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›