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-40092: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Refactor bind path to use free() After an bind/unbind cycle, the ncm->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 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 kernel is the core component of the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the system, including process management, memory management, and device control. This vulnerability affects multiple Debian versions of the Linux kernel, which is critical for system stability and security.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the USB gadget framework, specifically within the f_ncm driver. After a bind/unbind cycle, the ncm->notify_req is left in a stale state. If a subsequent bind operation fails, the error handling mechanism attempts to free this stale request, resulting in a NULL pointer dereference when accessing ep->ops->free_request. This can lead to system crashes and instability, as it causes the kernel to attempt to access an invalid memory address.

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-40092 vulnerability in the Linux kernel represents a significant risk for users of affected Debian versions. It is essential to apply the necessary updates to ensure system stability and security. Regular monitoring and timely updates are critical in maintaining a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40092 is a vulnerability in the Linux kernel's USB gadget framework that can cause a NULL pointer dereference, leading to system crashes.

Debian versions 11, 12, 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.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk of exploitation.

This vulnerability can lead to system instability and crashes, which may expose the system to further attacks or data loss.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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