CVE-2025-21982
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was identified in the Linux kernel affecting the pinctrl subsystem, specifically in the Nuvoton NPCM8xx GPIO firmware component. The issue was discovered and disclosed on April 1, 2025. The vulnerability affects Linux kernel versions from 6.7 up to (excluding) 6.12.20, as well as various release candidates of version 6.14 (NVD).

Technical details

The vulnerability stems from unchecked return values from devmkasprintf() calls in the npcm8xxgpio_fw() function. When these calls fail, they return null pointers, but the code did not properly validate these return values, potentially leading to a NULL pointer dereference error. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access requirements and potential high impact on availability (NVD).

Impact

The vulnerability can lead to a kernel NULL pointer dereference, which typically results in a system crash or denial of service condition. The CVSS scoring indicates that while there is no impact on confidentiality or integrity, there is a high impact on system availability (NVD).

Mitigation and workarounds

The vulnerability has been resolved by adding NULL pointer checks in the npcm8xxgpiofw() function. The fix has been implemented through patches available in the Linux kernel repository. System administrators should update affected systems to patched versions of the Linux kernel (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management