Kernel Vulnerability in Linux Package: NULL Pointer Dereference in Nuvoton NPCM8XX GPIO Firmware

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21982: 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. Affects linux versions < 6.12.20-1. Fixed in 6.12.20-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is a core component of the operating system that manages hardware and system resources. It provides essential services for all other parts of the operating system. The kernel is modular, allowing for various functionalities to be added or removed as needed. The vulnerability in question affects the 'linux' package in Debian versions 13 and 14, specifically in the pinctrl subsystem for Nuvoton NPCM8XX GPIO firmware, which is responsible for managing General Purpose Input/Output (GPIO) pins.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the pinctrl subsystem related to the Nuvoton NPCM8XX GPIO firmware. The issue arises from the lack of a NULL pointer check in the npcm8xx_gpio_fw() function, which calls devm_kasprintf(). If this function fails, it can return a NULL pointer, leading to a potential kernel NULL pointer dereference error. This vulnerability could result in system instability or crashes, posing a significant risk to system integrity and availability.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it is available.

Conclusion

The vulnerability identified in the Linux kernel related to the Nuvoton NPCM8XX GPIO firmware poses a significant risk due to the potential for system crashes caused by NULL pointer dereference. It is crucial for users of Debian versions 13 and 14 to update their systems to the patched version to ensure security and stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the npcm8xx_gpio_fw() function of the Linux kernel, which can lead to system crashes.

Debian versions 13 and 14 are affected by this vulnerability.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

While there are no specific workarounds, it is recommended to monitor the situation and apply the patch as soon as possible.

Failure to address this vulnerability could lead to system instability, crashes, and potential exploitation by malicious actors.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback