{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49492","id":"CVE-2022-49492","title":"nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags","description":"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 er","descriptionLong":"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.","published":"2025-02-26T02:13:28.820Z","updated":"2026-10-28T02:30:52.786558697Z","reserved":"2025-02-26T02:08:31.585Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"8321b17789f614414206af07e17ce4751c95dc76","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"9e649471b396fa0139d53919354ce1eace9b9a24","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"8da2b7bdb47e94bbc4062a3978c708926bcb022c","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"f76729662650cd7bc8f8194e057af381370349a7","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"af98940dd33c9f9e1beb4f71c0a39260100e2a65","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"906c81dba8ee8057523859b5e1a2479e9fd34860","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"7a28556082d1fbcbc599baf1c24252dfc73efefc","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"54a4c1e47d1b2585e74920399455bd9abbfb2bd7","status":"affected","versionType":"git"},{"version":"35b489d32fcc37e8735f41aa794b24cf9d1e74f5","lessThan":"da42761181627e9bdc37d18368b827948a583929","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","lessThan":"3.19","status":"unaffected","versionType":"semver"},{"version":"4.9.318","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.283","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8321b17789f614414206af07e17ce4751c95dc76","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9e649471b396fa0139d53919354ce1eace9b9a24","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8da2b7bdb47e94bbc4062a3978c708926bcb022c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f76729662650cd7bc8f8194e057af381370349a7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/af98940dd33c9f9e1beb4f71c0a39260100e2a65","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/906c81dba8ee8057523859b5e1a2479e9fd34860","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7a28556082d1fbcbc599baf1c24252dfc73efefc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/54a4c1e47d1b2585e74920399455bd9abbfb2bd7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/da42761181627e9bdc37d18368b827948a583929","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49492.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49492","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00291,"epssPercentile":0.21954,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49492","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49492","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49492","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49492","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}