Vulnerability in nvme-pci: NULL Pointer Dereference in nvme_alloc_admin_tags
Summary
GSD-2022-1004071: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags. Affects Kernel versions < 8321b17789f614414206af07e17ce4751c95dc76. 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 nvme-pci package is a component of the Linux Kernel ecosystem. It provides support for NVMe (Non-Volatile Memory Express) devices connected via PCI (Peripheral Component Interconnect). NVMe is a protocol designed for efficient communication between storage devices and host systems. The nvme_alloc_admin_tags function within the nvme-pci package is responsible for allocating administrative tags for NVMe commands. These tags are used to identify and track commands sent to the NVMe device. However, a vulnerability has been discovered in this function that can lead to a NULL pointer dereference.
Vulnerability Detail
The vulnerability in nvme-pci arises due to a NULL pointer dereference in the nvme_alloc_admin_tags function. When certain conditions are met, the function fails to properly handle a NULL pointer, leading to a crash or potential code execution. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges. The impact and attack plausibility of this vulnerability have not been proven yet.
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 vulnerability in nvme-pci, which involves a NULL pointer dereference in the nvme_alloc_admin_tags function, can be mitigated by updating the Linux Kernel to version v4.9.318 or later. This fix resolves the issue and prevents potential crashes or code execution. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The nvme-pci package is a component of the Linux Kernel ecosystem that provides support for NVMe devices connected via PCI.
The nvme_alloc_admin_tags function is responsible for allocating administrative tags for NVMe commands, which are used to identify and track commands sent to the NVMe device.
A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that points to NULL (a memory address that does not exist). This can lead to crashes or potential code execution.
The vulnerability in nvme-pci could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges.
No, the impact and attack plausibility of this vulnerability have not been proven yet.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.