First published: Wed Feb 26 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags In nvme_alloc_admin_tags, the admin_q can be set to an error (typically -ENOMEM) if the blk_mq_init_queue call fails to set up the queue, which is checked immediately after the call. However, when we return the error message up the stack, to nvme_reset_work the error takes us to nvme_remove_dead_ctrl() nvme_dev_disable() nvme_suspend_queue(&dev->queues[0]). Here, we only check that the admin_q is non-NULL, rather than not an error or NULL, and begin quiescing a queue that never existed, leading to bad / NULL pointer dereference.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | <4.9.318 | |
Linux Kernel | >=4.10<4.14.283 | |
Linux Kernel | >=4.15<4.19.247 | |
Linux Kernel | >=4.20<5.4.198 | |
Linux Kernel | >=5.5<5.10.121 | |
Linux Kernel | >=5.11<5.15.46 | |
Linux Kernel | >=5.16<5.17.14 | |
Linux Kernel | >=5.18<5.18.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-49492 has a severity rating that is typically categorized as high due to the risk of null pointer dereference leading to a potential denial of service.
To fix CVE-2022-49492, you should upgrade your Linux kernel to a version that includes the patch addressing this vulnerability.
CVE-2022-49492 affects multiple versions of the Linux kernel, specifically those prior to 4.9.318 and between several ranges up to 5.18.3.
The potential impacts of CVE-2022-49492 include system crashes and loss of service due to the null pointer dereference.
Currently, the best resolution for CVE-2022-49492 is to apply the latest security patches rather than relying on workarounds.