PCI: endpoint: Fix NULL pointer dereference for ->get_features() in Kernel
Summary
GSD-2021-1000220: PCI: endpoint: Fix NULL pointer dereference for ->get_features(). Affects Kernel versions >= 2c04c5b8eef797dca99699cfb55ff42dd3c12c23, < 0169d4f0bee44fdfef908c13ed21fcb326c38695. 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 functions and services to ensure the proper functioning of the system. The PCI (Peripheral Component Interconnect) subsystem within the Kernel handles communication between devices connected to the PCI bus. The vulnerability in question arises from a NULL pointer dereference issue in the PCI endpoint subsystem.
Vulnerability Detail
The vulnerability identified in the PCI endpoint subsystem of the Kernel involves a NULL pointer dereference when accessing the ->get_features() function. This issue can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.1 of the Kernel and has been fixed in version v5.12.5. It is crucial to update to the fixed version to mitigate the risk associated with this vulnerability.
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 →
Conclusion
The NULL pointer dereference vulnerability in the PCI endpoint subsystem of the Kernel can have severe consequences, including denial-of-service and potential code execution with kernel privileges. It is crucial to update the Kernel to version v5.12.5 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a denial-of-service condition or potential execution of 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 Vulert Playground will provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to apply the fix as soon as possible to prevent any potential exploitation.
The recommended approach is to update the Kernel to the fixed version. However, if updating is not immediately feasible, it is advisable to implement other security measures such as network segmentation, strict access controls, and regular monitoring to minimize the risk of exploitation.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000220.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.