NULL-deref vulnerability in comedi: ni_usb6501

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002075: comedi: ni_usb6501: fix NULL-deref in command paths. Affects Kernel versions >= a03bb00e50ab4c07107da58a52a0bff7943f360c, < ef143dc0c3defe56730ecd3a9de7b3e1d7e557c1. 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 comedi package is a collection of drivers and libraries for data acquisition devices. It provides a unified interface for interacting with various hardware devices. One of the supported devices is the ni_usb6501, which is a USB-based digital I/O device. This vulnerability affects the ni_usb6501 driver in the comedi package.

Vulnerability Detail

The vulnerability in the ni_usb6501 driver is a NULL-dereference issue. It occurs when certain command paths are executed, leading to a dereference of a NULL pointer. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v3.18 of the Linux Kernel and has been fixed in version v5.10.79.

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

If updating the Linux Kernel is not immediately feasible, users can mitigate the risk by avoiding the use of the ni_usb6501 device or by disconnecting it from the system. This will prevent the vulnerable driver from being loaded and reduce the attack surface.

Conclusion

The NULL-deref vulnerability in the ni_usb6501 driver of the comedi package can be mitigated by updating the Linux Kernel to version v5.10.79 or later. Users can also temporarily avoid using the ni_usb6501 device or disconnect it from the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Comedi is a package that provides drivers and libraries for data acquisition devices, allowing users to interface with various hardware devices.

ni_usb6501 is a USB-based digital I/O device supported by the comedi package. It allows users to perform digital input and output operations.

A NULL-deref vulnerability occurs when a program attempts to dereference a NULL pointer, leading to a crash or potential code execution.

The vulnerability could allow an attacker to cause a denial-of-service condition or execute arbitrary code with kernel privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you in real-time if any open-source vulnerabilities, including this one, are detected.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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