Null Pointer Dereference in video: fbdev: smscufx
Summary
GSD-2022-1002110: video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe(). Affects Kernel versions >= 3c8a63e22a0802fd56380f6ab305b419f18eb6f5, < 64ec3e678d76419f207b9cdd338dda438ca10b1c. 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 video: fbdev: smscufx package is a component of the Linux Kernel ecosystem. It provides support for the SMSC UFX USB video frame buffer driver. This driver allows users to interface with USB video devices and display video content. The vulnerability in this package involves a null pointer dereference in the ufx_usb_probe() function. This vulnerability can potentially lead to a system crash or other unpredictable behavior.
Vulnerability Detail
The null pointer dereference vulnerability in ufx_usb_probe() occurs when the function attempts to dereference a null pointer, resulting in a crash or undefined behavior. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) attack or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v3.2 of the Linux Kernel and has been fixed in version v5.10.110 by commit 64ec3e678d76419f207b9cdd338dda438ca10b1c.
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 apply a workaround to mitigate the risk. One possible workaround is to disable the affected video driver by blacklisting the 'smscufx' module. This can be done by adding the following line to the '/etc/modprobe.d/blacklist.conf' file:
blacklist smscufx
After adding the line, reboot the system for the changes to take effect.
Conclusion
The null pointer dereference vulnerability in video: fbdev: smscufx can lead to system crashes and potential code execution with kernel privileges. It is crucial to update the Linux Kernel to version v5.10.110 or later to fix this vulnerability. If immediate update is not possible, applying a workaround by blacklisting the 'smscufx' module can help mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to a system crash or other unpredictable behavior. It could also be exploited by an attacker to execute arbitrary code with kernel privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the playground will analyze it for any known vulnerabilities.
Yes, the vulnerability has been fixed in Linux Kernel version v5.10.110. Users should update their Kernel to this version or later to mitigate the risk.
Yes, if updating the Kernel is not immediately feasible, you can apply a workaround by blacklisting the 'smscufx' module. This will disable the affected video driver and mitigate the risk.
You can find more information about this vulnerability in the GSD-2022-1002110 entry of the GSD Database maintained by the Cloud Security Alliance. The link to the entry is available in the 'source' field of the 'database_specific' section in the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.