Critical NULL Pointer Dereference in Linux Kernel - Debian Packages

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Medium
5.5

CVE-2025-21918: In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Fix NULL pointer access Resources should be released only after all threads that utilize them have been destroyed. Affects linux versions < 6.1.133-1. Fixed in 6.1.133-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 the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used in various distributions, including Debian 12 and 13. This vulnerability affects the USB Type-C UCSI (USB Type-C Connector System Software Interface) implementation, which is crucial for managing USB Type-C connections and devices.

Vulnerability Detail

In the Linux kernel, a NULL pointer dereference vulnerability was identified in the USB Type-C UCSI implementation. This issue arises when resources are released prematurely, leading to potential crashes or undefined behavior in the system. The vulnerability can be exploited if the associated workqueue is not completed before resource deallocation, which can compromise system stability and security.

How To Fix

Minimum fixed version

6.1.133-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. It is recommended to apply the patch as soon as it becomes available for Debian 12.

Conclusion

The CVE-2025-21918 vulnerability in the Linux kernel poses a significant risk due to a NULL pointer dereference in the USB Type-C UCSI implementation. Users are advised to update their systems to the patched version to mitigate potential risks. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21918 is a vulnerability in the Linux kernel related to a NULL pointer dereference in the USB Type-C UCSI implementation.

Exploitation of this vulnerability can lead to system crashes or undefined behavior, potentially compromising system stability and security.

Yes, a patch is available for Debian 13 in version 6.12.19-1. Users of Debian 12 should monitor for updates.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software by analyzing your manifest file, such as package-lock.json.

Vulert provides real-time monitoring for open-source vulnerabilities without requiring access to the code or installation. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.

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.1.133-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