USB-Conn-GPIO: NULL Pointer Dereference of Charger in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001203: usb: common: usb-conn-gpio: fix NULL pointer dereference of charger. Affects Kernel versions < 1a133a0996d6b4c83509d570ed4edcba34c44f25. No fix is published. 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 Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functionalities for device drivers, memory management, process scheduling, and more. The USB-Conn-GPIO module is a common USB driver that handles USB connections and GPIO (General Purpose Input/Output) operations. It allows devices to be connected and disconnected dynamically. However, a vulnerability has been discovered in the USB-Conn-GPIO module that can lead to a NULL pointer dereference of the charger.

Vulnerability Detail

The vulnerability in the USB-Conn-GPIO module arises from a NULL pointer dereference of the charger. When certain conditions are met, the module fails to handle a NULL pointer correctly, leading to a crash or potential code execution. An attacker could exploit this vulnerability by sending specially crafted USB packets, potentially resulting in a denial-of-service (DoS) attack or arbitrary code execution with kernel privileges. This vulnerability has the potential to impact the stability and security of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to the recommended version.

Conclusion

The USB-Conn-GPIO module in the Linux Kernel is vulnerable to a NULL pointer dereference of the charger. This vulnerability can lead to a crash or potential code execution, posing a risk of denial-of-service (DoS) attacks or arbitrary code execution with kernel privileges. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.13.4 or later. Regularly updating the Kernel is essential to ensure the latest security patches and bug fixes are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a NULL pointer dereference of the charger in the USB-Conn-GPIO module. This can result in a crash or potential code execution, potentially allowing an attacker to perform a denial-of-service (DoS) attack or execute arbitrary code with kernel privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, a patch for this vulnerability is available in the Linux Kernel version v5.13.4. Users should update their Kernel installation to the latest stable release that includes this fix.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is crucial to apply the fix promptly to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely by sending specially crafted USB packets. An attacker could potentially trigger a crash or execute arbitrary code on the target system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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