CVE-2022-49492
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49492 is a vulnerability in the Linux kernel's NVMe-PCI driver that was discovered and disclosed in February 2025. The vulnerability involves a NULL pointer dereference in the nvmeallocadmin_tags function, affecting various Linux distributions and their kernel versions (Ubuntu Security, RedHat Security).

Technical details

The vulnerability occurs in the nvmeallocadmintags function where adminq can be set to an error (typically -ENOMEM) if the blkmqinitqueue call fails to set up the queue. When returning the error message up the stack to nvmeresetwork, the error path leads to nvmeremovedeadctrl() nvmedevdisable() nvmesuspendqueue(&dev->queues[0]). The code only checks that admin_q is non-NULL, rather than checking for both error and NULL conditions, resulting in an attempt to quiesce a queue that never existed, leading to a NULL pointer dereference. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (Medium) (RedHat Security).

Impact

The vulnerability can lead to a system crash due to NULL pointer dereference when the NVMe driver fails to allocate admin queue tags. This primarily affects systems using NVMe storage devices and could potentially be triggered during system operation, impacting system stability (Kernel Git).

Mitigation and workarounds

A patch has been developed and merged into the Linux kernel that properly handles the error case by setting dev->ctrl.admin_q to NULL before returning the error. Various Linux distributions have either patched or are in the process of patching their affected kernel versions. Ubuntu has fixed the issue in version 4.15.0-192.203 for 18.04 LTS (bionic) and other versions are being updated (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management