CVE-2022-49492
Last modified
CVE-2022-49492 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.9.318 |
| Linux | Linux Kernel | >= 4.10, < 4.14.283 |
| Linux | Linux Kernel | >= 4.15, < 4.19.247 |
| Linux | Linux Kernel | >= 4.20, < 5.4.198 |
| Linux | Linux Kernel | >= 5.5, < 5.10.121 |
| Linux | Linux Kernel | >= 5.11, < 5.15.46 |
| Linux | Linux Kernel | >= 5.16, < 5.17.14 |
| Linux | Linux Kernel | >= 5.18, < 5.18.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49492?
How severe is CVE-2022-49492?
How do I fix CVE-2022-49492?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49487In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49488In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49489In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-4949The AdSanity plugin for WordPress is vulnerable to arbitrary…8.8
- CVE-2022-49490In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49491In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49493In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49494In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49495In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49496In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49497In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49498In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49492?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
