LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21982: pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw

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.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-21982 is a Linux kernel flaw in the Nuvoton NPCM8xx pin control driver. If a memory allocation fails, missing NULL checks can crash the kernel. The business impact is availability loss on affected systems, not data theft or remote compromise based on available sources.

Executive priority

Treat as a targeted availability risk. Patch through normal kernel maintenance, faster for exposed management hardware or multi-user systems. It does not currently justify emergency response unless affected assets support critical operations.

Technical view

The bug is CWE-476 NULL pointer dereference in npcm8xx_gpio_fw(). devm_kasprintf() may return NULL, but return values were not checked. CVSS 3.1 is 5.5, local attack vector, low complexity, low privileges, no confidentiality or integrity impact, high availability impact.

Likely exposure

Exposure is most likely on Linux systems using affected kernel versions with the Nuvoton NPCM8xx pinctrl/GPIO driver, commonly relevant to specific embedded or BMC-style hardware. The source bundle does not prove broad exposure across all Linux deployments.

Exploitation context

The CVE record does not cite active exploitation, and KEV status is false. The CVSS vector indicates local, low-privilege conditions with no user interaction. Available evidence supports denial-of-service risk through kernel crash, not remote code execution.

Researcher notes

Evidence is limited to the CVE record and Linux stable commit references. The bug class and CVSS support local denial of service. Do not assume exploitability beyond affected driver paths without testing the specific kernel, hardware, and downstream backport state.

Mitigation direction

  • Update to a vendor or distribution kernel containing the referenced stable fixes.
  • Prioritize affected Nuvoton NPCM8xx-based systems where local users or workloads are untrusted.
  • If patch timing is unclear, check Linux vendor advisories for fixed package versions.
  • Limit unnecessary local access to affected embedded or management systems until patched.

Validation and detection

  • Inventory systems running Linux kernels listed as affected in the CVE source bundle.
  • Confirm whether the Nuvoton NPCM8xx pinctrl/GPIO driver is present and in use.
  • Verify the installed kernel includes one of the referenced stable commits or downstream backport.
  • Review vendor security notes for fixed kernel package versions and reboot requirements.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-21982 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2025-21982Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxacf4884a571709cad99f98aabe08b7cacd62dc80, acf4884a571709cad99f98aabe08b7cacd62dc80, acf4884a571709cad99f98aabe08b7cacd62dc80unaffected
LinuxLinux6.7, 0, 6.12.20, 6.13.8, 6.14affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.