Kernel NULL Pointer Dereference Vulnerability in Linux Package

linux Updated 04 Jun 2026

Summary

30/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40094: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_acm: Refactor bind path to use free() After an bind/unbind cycle, the acm->notify_req is left stale. Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used across various distributions, including Debian. This vulnerability affects the USB gadget functionality, specifically the ACM (Abstract Control Model) driver, which is used for USB communication. The vulnerability arises from improper error handling during the bind/unbind cycle, potentially leading to system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the USB gadget subsystem, specifically within the f_acm driver. After a bind/unbind cycle, the notify_req pointer is left in a stale state. If a subsequent bind operation fails, the error handling mechanism attempts to free this stale request, which can result in a NULL pointer dereference when accessing the free_request function. This can lead to a kernel panic or system crash, severely impacting system reliability and security.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available.

Conclusion

The CVE-2025-40094 vulnerability in the Linux kernel poses a significant risk due to its potential to cause system crashes through NULL pointer dereferences. Users are advised to update their systems promptly to ensure protection against this issue. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40094 is a vulnerability in the Linux kernel's USB gadget subsystem that can lead to a NULL pointer dereference, potentially causing system crashes.

This vulnerability can lead to kernel panics or crashes, affecting system stability and potentially causing data loss.

The vulnerability affects multiple Debian versions, including Debian 11, 12, 13, and 14. Users should check their kernel version and apply updates.

You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk associated with this vulnerability.

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

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