Vulnerability in nvme-pci: NULL pointer dereference in nvme_alloc_admin_tags
Summary
GSD-2022-1003367: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags. Affects Kernel versions < 906c81dba8ee8057523859b5e1a2479e9fd34860. 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. NVMe is a protocol designed for efficient communication between host systems and solid-state drives (SSDs). The nvme_alloc_admin_tags function is responsible for allocating administrative tags used for NVMe command submission and completion. However, a vulnerability in this function can lead to a NULL pointer dereference.
Vulnerability Detail
The vulnerability identified as GSD-2022-1003367 in the nvme-pci package allows for a NULL pointer dereference in the nvme_alloc_admin_tags function. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code in the context of the affected system. The NULL pointer dereference occurs when the function fails to handle a specific scenario, leading to a crash or system instability. 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 →
Workaround
As this vulnerability is fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update the Kernel to the patched version as mentioned in the 'how_to_fix' section.
Conclusion
In conclusion, the nvme-pci package in the Linux Kernel is vulnerable to a NULL pointer dereference in the nvme_alloc_admin_tags function. This vulnerability can lead to a denial-of-service (DoS) condition or potential execution of arbitrary code. It is crucial to update the Linux Kernel to version v5.15.46 or later, which includes the fix for this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can range from a denial-of-service (DoS) condition to potential execution of arbitrary code in the context of the affected system. However, the actual impact and attack plausibility have not been proven yet.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.
As this vulnerability is fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update the Kernel to the patched version.
You can find more information about the fix for this vulnerability in the Linux Kernel repository. The fix is implemented in commit 906c81dba8ee8057523859b5e1a2479e9fd34860.
To update the Linux Kernel to the patched version, you can follow the official documentation or instructions provided by your Linux distribution. Typically, it involves using package managers or manually compiling and installing the updated Kernel version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.