NULL pointer dereference in qlcnic_83xx_add_rings() in Kernel
Summary
GSD-2021-1002395: net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings(). Affects Kernel versions >= 7f9664525f9cb507de9198a395a111371413f230, < 550658a2d61e4eaf522c8ebc7fad76dc376bfb45. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The qlcnic driver is responsible for managing QLogic network interface cards (NICs) in the Kernel. These NICs are commonly used in data centers and enterprise environments.
Vulnerability Detail
The vulnerability, identified as GSD-2021-1002395, resides in the qlcnic_83xx_add_rings() function within the qlcnic driver. It is a NULL pointer dereference issue that can be triggered under certain conditions. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v4.14.257.
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
As a workaround, users can disable the qlcnic driver if it is not essential for their system's operation. This can be achieved by blacklisting the qlcnic module or removing it from the Kernel configuration. However, this workaround should only be considered if the qlcnic driver is not required, as it may impact the functionality of QLogic NICs.
Conclusion
The NULL pointer dereference vulnerability in qlcnic_83xx_add_rings() within the Kernel can have severe consequences, including denial-of-service (DoS) attacks and arbitrary code execution. It is crucial to update the Linux Kernel to version v4.14.257 or later to address this vulnerability. Users can also use Vulert's playground at https://vulert.com/scanner to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a denial-of-service (DoS) condition or enable an attacker to execute arbitrary code with kernel privileges.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert analyzes the package-lock.json file to identify and alert about open-source vulnerabilities in software.
Yes, users can disable the qlcnic driver as a temporary workaround. However, this should only be done if the driver is not essential for the system's operation.
To fix this vulnerability, update the Linux Kernel to version v4.14.257 or later. You can obtain the updated Kernel from the official Linux Kernel repository or through your Linux distribution's package management system.
There are no known instances of this vulnerability being exploited in the wild. However, it is recommended to apply the necessary updates and patches to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.