{"id":"CVE-2026-80813","aliases":["CVE-2026-80813"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist()\n\nWhen a host issues an Identify command with CNS 07h (Active Namespace ID\nList for a specific I/O Command Set), nvmet_execute_identify_nslist() is\ncalled with match_css set. The command-set filter dereferences req->ns,\nbut this handler never calls nvmet_req_find_ns(), so req->ns is always\nNULL (nvmet_req_init() resets it to NULL). As soon as an enabled\nnamespace with an NSID greater than the requested value exists,\nreq->ns->csi dereferences a NULL pointer and oopses.\n\nBesides the crash, the comparison is logically wrong: to filter the list\nby command set it must test the command set of the namespace being\niterated, not a single fixed value. Use the loop variable ns->csi.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist()\n\nWhen a host issues an Identify command with CNS 07h (Active Namespace ID\nList for a specific I/O Command Set), nvmet_execute_identify_nslist() is\ncalled with match_css set. The command-set filter dereferences req->ns,\nbut this handler never calls nvmet_req_find_ns(), so req->ns is always\nNULL (nvmet_req_init() resets it to NULL). As soon as an enabled\nnamespace with an NSID greater than the requested value exists,\nreq->ns->csi dereferences a NULL pointer and oopses.\n\nBesides the crash, the comparison is logically wrong: to filter the list\nby command set it must test the command set of the namespace being\niterated, not a single fixed value. Use the loop variable ns->csi.","source":"cvelist"}],"published":"2026-09-04T15:13:33.761Z","modified":"2026-10-19T09:17:16.157Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"61c9967cd63448292a64f9ee9aeb6e2053e3a624","fixed":"61dc1a37e04d4003a19095f54883358330034a39","status":"affected"},{"type":"git","introduced":"61c9967cd63448292a64f9ee9aeb6e2053e3a624","fixed":"2bc1e33ff6a558c8ceef7c0077f3ef70a15fcba2","status":"affected"},{"type":"git","introduced":"61c9967cd63448292a64f9ee9aeb6e2053e3a624","fixed":"123d664ac98d6f3464462ad4a530474b91ba9890","status":"affected"},{"type":"git","introduced":"61c9967cd63448292a64f9ee9aeb6e2053e3a624","fixed":"79aba4c9403419d822972d2851f2a96a2c0531cf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.11","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.1","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/61dc1a37e04d4003a19095f54883358330034a39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bc1e33ff6a558c8ceef7c0077f3ef70a15fcba2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/123d664ac98d6f3464462ad4a530474b91ba9890","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79aba4c9403419d822972d2851f2a96a2c0531cf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80813","url":"https://www.cve.org/CVERecord?id=CVE-2026-80813","licence":"CVE Terms of Use","modified":"2026-10-19T08:44:07.048Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80813","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80813","licence":"Public domain","modified":"2026-10-19T09:17:16.157Z"}],"updatedAt":"2026-11-25T22:59:36.334Z","epss":{"score":0.00168,"percentile":0.06323,"date":"2026-12-01T12:00:22.000Z"}}