NULL Pointer Dereference in Linux Kernel's USB Type-C Class - linux Package Vulnerability

linux Updated 02 Oct 2025

Summary

08/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37809: In the Linux kernel, the following vulnerability has been resolved: usb: typec: class: Fix NULL pointer access Concurrent calls to typec_partner_unlink_device can lead to a NULL pointer dereference. Affects linux versions < 6.12.27-1. Fixed in 6.12.27-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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The linux package is a core component of the Debian operating system, providing the essential kernel that manages system resources and hardware interactions. It supports a wide range of functionalities, including process management, memory management, and device control. This vulnerability specifically affects the USB Type-C class within the kernel, which is responsible for managing USB connections and devices.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the USB Type-C class that can lead to a NULL pointer dereference. This issue arises from concurrent calls to the function typec_partner_unlink_device, which can result in a NULL pointer access. The vulnerability is significant as it can cause system crashes or instability when multiple USB devices are being managed simultaneously. The patch introduced adds a mutex to protect USB device pointers, ensuring that the device pointers and partner device registration are safeguarded against this issue.

How To Fix

Minimum fixed version

6.12.27-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 mentioned for this vulnerability. However, users are advised to limit the use of concurrent USB device management until the patch is applied.

Conclusion

The identified vulnerability in the Linux kernel's USB Type-C class poses a risk of system instability due to NULL pointer dereference. Users are encouraged to update their linux package to the patched version to mitigate this risk. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference that can occur due to concurrent calls to a specific function in the USB Type-C class of the Linux kernel.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability can lead to system crashes or instability, particularly when managing multiple USB devices simultaneously.

Yes, a patch has been released in version 6.12.27-1 of the linux package to address this vulnerability.

While there are no specific workarounds, it is advisable to limit the use of concurrent USB device management until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.27-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