CVE-2025-21982

pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:47 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.13.86.7 ≤ v < 6.12.206.7 ≤ v < 6.13.86.7 ≤ v < 6.146.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc6acf4884a571709cad99f98aabe08b7cacd62dc80
Vendor states this is fixed in 6a08a86e5aff8e65368ccd463348fdda26100821 (fixed)
Vendor states this is fixed in a585f6ea42ec259a9a57e3e2580fa527c92187d0 (fixed)
Vendor states this is fixed in acf40ab42799e4ae1397ee6f5c5941092d66f999 (fixed)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a585f6ea42ec259a9a57e3e2580fa527c92187d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card