{"id":"CVE-2022-49492","aliases":["CVE-2022-49492"],"related":[],"kind":"vulnerability","state":"published","title":"nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags\n\nIn nvme_alloc_admin_tags, the admin_q can be set to an error (typically\n-ENOMEM) if the blk_mq_init_queue call fails to set up the queue, which\nis checked immediately after the call. However, when we return the error\nmessage up the stack, to nvme_reset_work the error takes us to\nnvme_remove_dead_ctrl()\n  nvme_dev_disable()\n   nvme_suspend_queue(&dev->queues[0]).\n\nHere, we only check that the admin_q is non-NULL, rather than not\nan error or NULL, and begin quiescing a queue that never existed, leading\nto bad / NULL pointer dereference.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags\n\nIn nvme_alloc_admin_tags, the admin_q can be set to an error (typically\n-ENOMEM) if the blk_mq_init_queue call fails to set up the queue, which\nis checked immediately after the call. However, when we return the error\nmessage up the stack, to nvme_reset_work the error takes us to\nnvme_remove_dead_ctrl()\n  nvme_dev_disable()\n   nvme_suspend_queue(&dev->queues[0]).\n\nHere, we only check that the admin_q is non-NULL, rather than not\nan error or NULL, and begin quiescing a queue that never existed, leading\nto bad / NULL pointer dereference.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvme-pci: corrige una desreferencia de puntero NULL en nvme_alloc_admin_tags En nvme_alloc_admin_tags, admin_q se puede configurar en un error (normalmente -ENOMEM) si la llamada blk_mq_init_queue no puede configurar la cola, que se comprueba inmediatamente después de la llamada. Sin embargo, cuando devolvemos el mensaje de error a la pila, a nvme_reset_work el error nos lleva a nvme_remove_dead_ctrl() nvme_dev_disable() nvme_suspend_queue(&amp;dev-&gt;queues[0]). Aquí, solo comprobamos que admin_q no sea NULL, en lugar de no ser un error o NULL, y comenzamos a inactivar una cola que nunca existió, lo que lleva a una desreferencia de puntero NULL incorrecta.","source":"nvd"}],"published":"2025-02-26T02:13:28.820Z","modified":"2026-06-17T05:18:13.370Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"8321b17789f614414206af07e17ce4751c95dc76","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"9e649471b396fa0139d53919354ce1eace9b9a24","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"8da2b7bdb47e94bbc4062a3978c708926bcb022c","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"f76729662650cd7bc8f8194e057af381370349a7","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"af98940dd33c9f9e1beb4f71c0a39260100e2a65","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"906c81dba8ee8057523859b5e1a2479e9fd34860","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"7a28556082d1fbcbc599baf1c24252dfc73efefc","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"54a4c1e47d1b2585e74920399455bd9abbfb2bd7","status":"affected"},{"type":"git","introduced":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","fixed":"da42761181627e9bdc37d18368b827948a583929","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"4.9.318","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.318"},{"status":"affected","introduced":"4.10","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8321b17789f614414206af07e17ce4751c95dc76","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e649471b396fa0139d53919354ce1eace9b9a24","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8da2b7bdb47e94bbc4062a3978c708926bcb022c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f76729662650cd7bc8f8194e057af381370349a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af98940dd33c9f9e1beb4f71c0a39260100e2a65","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/906c81dba8ee8057523859b5e1a2479e9fd34860","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a28556082d1fbcbc599baf1c24252dfc73efefc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54a4c1e47d1b2585e74920399455bd9abbfb2bd7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da42761181627e9bdc37d18368b827948a583929","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:38:56.150Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49492","url":"https://www.cve.org/CVERecord?id=CVE-2022-49492","licence":"CVE Terms of Use","modified":"2026-05-11T19:00:56.954Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49492","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49492","licence":"Public domain","modified":"2026-06-17T05:18:13.370Z"}],"updatedAt":"2026-11-25T22:58:20.688Z","epss":{"score":0.00291,"percentile":0.23281,"date":"2026-12-01T12:00:22.000Z"}}