← Database

CVE-2025-21982

MEDIUM CVSS: 5.5 Published: 2025-04-01 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-476, CWE-476

References