CVE-2022-49492
published 2025-02-26CVE-2022-49492: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.29%
21.5th percentile
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 8321b17789f614414206af07e17ce4751c95dc76 | 8321b17789f614414206af07e17ce4751c95dc76 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 9e649471b396fa0139d53919354ce1eace9b9a24 | 9e649471b396fa0139d53919354ce1eace9b9a24 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 8da2b7bdb47e94bbc4062a3978c708926bcb022c | 8da2b7bdb47e94bbc4062a3978c708926bcb022c |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < f76729662650cd7bc8f8194e057af381370349a7 | f76729662650cd7bc8f8194e057af381370349a7 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < af98940dd33c9f9e1beb4f71c0a39260100e2a65 | af98940dd33c9f9e1beb4f71c0a39260100e2a65 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 906c81dba8ee8057523859b5e1a2479e9fd34860 | 906c81dba8ee8057523859b5e1a2479e9fd34860 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 7a28556082d1fbcbc599baf1c24252dfc73efefc | 7a28556082d1fbcbc599baf1c24252dfc73efefc |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < 54a4c1e47d1b2585e74920399455bd9abbfb2bd7 | 54a4c1e47d1b2585e74920399455bd9abbfb2bd7 |
| linux | linux | >= 35b489d32fcc37e8735f41aa794b24cf9d1e74f5 < da42761181627e9bdc37d18368b827948a583929 | da42761181627e9bdc37d18368b827948a583929 |
| linux | linux_kernel | < 4.9.318 | 4.9.318 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.10 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49492 [MEDIUM] CWE-476 kernel: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
kernel: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
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.
A flaw was found in the nvme module in the Linux kernel
Debian
CVE-2022-49492: linux - In the Linux kernel, the following vulnerability has been resolved: nvme-pci: f...
vendor_debian·2022·CVSS 5.5
CVE-2022-49492 [MEDIUM] CVE-2022-49492: linux - In the Linux kernel, the following vulnerability has been resolved: nvme-pci: f...
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.
Scope: local
bookworm: resolved (fixed in 5.18.5-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.5-1)
si
GHSA
GHSA-9hwv-rwqx-f5cv: 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_
ghsa_unreviewed·2025-03-17
CVE-2022-49492 [MEDIUM] CWE-476 GHSA-9hwv-rwqx-f5cv: 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_
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.
OSV
CVE-2022-49492: 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_ad
osv·2025-02-26·CVSS 5.5
CVE-2022-49492 [MEDIUM] CVE-2022-49492: 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_ad
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/54a4c1e47d1b2585e74920399455bd9abbfb2bd7https://git.kernel.org/stable/c/7a28556082d1fbcbc599baf1c24252dfc73efefchttps://git.kernel.org/stable/c/8321b17789f614414206af07e17ce4751c95dc76https://git.kernel.org/stable/c/8da2b7bdb47e94bbc4062a3978c708926bcb022chttps://git.kernel.org/stable/c/906c81dba8ee8057523859b5e1a2479e9fd34860https://git.kernel.org/stable/c/9e649471b396fa0139d53919354ce1eace9b9a24https://git.kernel.org/stable/c/af98940dd33c9f9e1beb4f71c0a39260100e2a65https://git.kernel.org/stable/c/da42761181627e9bdc37d18368b827948a583929https://git.kernel.org/stable/c/f76729662650cd7bc8f8194e057af381370349a7
2025-02-26
Published