Critical Vulnerability in Linux Package: NULL Pointer Dereference in RNDIS Gadget

linux Updated 04 Jun 2026

Summary

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

DEBIAN-CVE-2025-40095: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_rndis: Refactor bind path to use free() After an bind/unbind cycle, the rndis->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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of the Debian operating system, providing essential services for hardware and software interaction. It supports a wide range of devices and functionalities, making it a critical element for system stability and performance. The kernel is continuously updated to address security vulnerabilities and improve performance. This specific vulnerability affects the RNDIS (Remote Network Driver Interface Specification) gadget, which is used for network communication over USB. The issue arises from improper error handling during the bind/unbind cycle, leading to potential system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the RNDIS gadget where the 'notify_req' remains stale after a bind/unbind cycle. 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 instability and crashes, posing a significant risk to users relying on USB network functionalities.

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 provided for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate risks.

Conclusion

The identified vulnerability in the Linux kernel's RNDIS gadget poses a significant risk to system stability due to potential NULL pointer dereference. Users are urged to update their systems promptly to mitigate this risk and ensure continued functionality of USB network services.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system crashes due to NULL pointer dereference, affecting the stability of systems using the RNDIS gadget.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.

Yes, users are encouraged to update their Linux package to the latest version where this vulnerability has been addressed.

While there are no specific workarounds, it is advisable to monitor the situation and apply the patch as soon as it is available.

Detailed information can be found in the official Debian security advisories and the CVE database.

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