CVE-2025-21982

medium

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.

References

https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999

https://git.kernel.org/stable/c/a585f6ea42ec259a9a57e3e2580fa527c92187d0

https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821

Details

Source: Mitre, NVD

Published: 2025-04-01

Updated: 2025-04-10

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium