NULL-deref vulnerability in comedi: ni_usb6501
Summary
GSD-2021-1002075: comedi: ni_usb6501: fix NULL-deref in command paths. Affects Kernel versions >= a03bb00e50ab4c07107da58a52a0bff7943f360c, < ef143dc0c3defe56730ecd3a9de7b3e1d7e557c1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.