{"id":"CVE-2026-80813","revision":"f14fa1a084904425b89541970513550f","records":[{"revision":"f14fa1a084904425b89541970513550f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80813","aliases":[],"title":"nvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist()","description":"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.","state":0,"publishedAt":"2026-09-04T15:13:33.761+00:00","modifiedAt":"2026-10-19T08:44:07.048+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/nvme/target/admin-cmd.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"61c9967cd63448292a64f9ee9aeb6e2053e3a624\",\n                            \"lessThan\": \"61dc1a37e04d4003a19095f54883358330034a39\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"61c9967cd63448292a64f9ee9aeb6e2053e3a624\",\n                            \"lessThan\": \"2bc1e33ff6a558c8ceef7c0077f3ef70a15fcba2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"61c9967cd63448292a64f9ee9aeb6e2053e3a624\",\n                            \"lessThan\": \"123d664ac98d6f3464462ad4a530474b91ba9890\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"61c9967cd63448292a64f9ee9aeb6e2053e3a624\",\n                            \"lessThan\": \"79aba4c9403419d822972d2851f2a96a2c0531cf\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/nvme/target/admin-cmd.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.47\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.11\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.1\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/61dc1a37e04d4003a19095f54883358330034a39","https://git.kernel.org/stable/c/2bc1e33ff6a558c8ceef7c0077f3ef70a15fcba2","https://git.kernel.org/stable/c/123d664ac98d6f3464462ad4a530474b91ba9890","https://git.kernel.org/stable/c/79aba4c9403419d822972d2851f2a96a2c0531cf"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80813","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80813","identifiers":["CVE-2026-80813"]},"retained":false,"historicalAffected":[]}],"coverage":[]}