Vulnerability in nvme-pci: NULL Pointer Dereference in nvme_alloc_admin_tags

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback