CVE Explore

NULL pointer dereference in Linux

CVE-2025-21982

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.002 · 8.8th percentile
Published
2025-04-01

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 8.8th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions acf4884a571709cad99f98aabe08b7cacd62dc80, 6.7, 0
  • Linux Kernel — versions 6.14

Weakness classification (CWE)

References