CVE-2025-21982

MEDIUM EPSS 5.8%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
5.8% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 8

VendorProductVersionRange
linuxlinux_kernel*≥6.7  –  <6.12.20
linuxlinux_kernel*≥6.13  –  <6.13.8
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a585f6ea42ec259a9a57e3e2580fa527c92187d0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/6a08a86e5aff8e65368ccd463348fdda26100821
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a585f6ea42ec259a9a57e3e2580fa527c92187d0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/acf40ab42799e4ae1397ee6f5c5941092d66f999
    Patch