From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 113D93A8755 for ; Fri, 4 Sep 2026 15:18:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788535131; cv=none; b=KMtHg5YaQ2g77Fbe++82NQgqxaUj5g5YVI/jloS5LFfkR2KS3DhZbzQFfRjCDhrqogMTtYhdnfI+K8XD0XycivymrkWzlUJOtqMxEzADfx/nOr+kK75DJ7gCDnVyEcjgYbc5A+dHkPvsqIFgqqp5gRFgGUxw4U1VzCqzGxN9o9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788535131; c=relaxed/simple; bh=PCiWlCDyci4TadM42m+h6zvDoHxg8yv2FHLtZNE1lqk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J5wje3fwcBH9SbpV785WoocLd0DmeoLP4IdxlyRX9qziPHW04MLX3ItMJdsjwognBoQbPCdDBersJxXNnFATao80R005dRWEXckb7+6kfQbAuaudyOf17S3/q4QGl165sLOfHkebtNgDqjBhjSeUl/5lZPqvV/nf2oPEzUrfbQE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A1REcjfu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="A1REcjfu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFFE41F00A3D; Fri, 4 Sep 2026 15:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788535129; bh=blHO0tEIw1QKAkcwzNyfcLpizvquZXvsWDWqZYnRjoI=; h=From:To:Cc:Subject:Date:Reply-To; b=A1REcjfuSD4E2385FWqufjNSoqx/4TEWAj4dO31Euj0uNVQwpWOjs54D0eYD3iJ00 nMcuWVasHSr7l0Uv2Y2hnjwG43vUSmOTKBYg195dXRAPL0cdbGLgjzFb/L8XF2kIpE KfDaHcT1g0sCbjhfbt+FaixEWQ10hwyI/M7fXuQU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80813: nvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist() Date: Fri, 4 Sep 2026 17:11:52 +0200 Message-ID: <2026090411-CVE-2026-80813-ff96@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2932; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N7tXpWxCFaMz3y/ayqJIafsfbXPEQ8VU3No/mO7wbcQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz7k84ZXpK7d2BYCXdGg8Dtr/Nv7v+vtD8avvyCH/OC t66Hq5HHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR8YkM810X3bxQ39a0+UBp qVXMre0X9Ka4OjHMzw3/cU1uQ6vo/Y692suzptV+Mr9lCAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: nvmet: fix NULL pointer dereference in nvmet_execute_identify_nslist() When a host issues an Identify command with CNS 07h (Active Namespace ID List for a specific I/O Command Set), nvmet_execute_identify_nslist() is called with match_css set. The command-set filter dereferences req->ns, but this handler never calls nvmet_req_find_ns(), so req->ns is always NULL (nvmet_req_init() resets it to NULL). As soon as an enabled namespace with an NSID greater than the requested value exists, req->ns->csi dereferences a NULL pointer and oopses. Besides the crash, the comparison is logically wrong: to filter the list by command set it must test the command set of the namespace being iterated, not a single fixed value. Use the loop variable ns->csi. The Linux kernel CVE team has assigned CVE-2026-80813 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 61c9967cd63448292a64f9ee9aeb6e2053e3a624 and fixed in 6.18.47 with commit 61dc1a37e04d4003a19095f54883358330034a39 Issue introduced in 6.13 with commit 61c9967cd63448292a64f9ee9aeb6e2053e3a624 and fixed in 7.1.11 with commit 2bc1e33ff6a558c8ceef7c0077f3ef70a15fcba2 Issue introduced in 6.13 with commit 61c9967cd63448292a64f9ee9aeb6e2053e3a624 and fixed in 7.2.1 with commit 123d664ac98d6f3464462ad4a530474b91ba9890 Issue introduced in 6.13 with commit 61c9967cd63448292a64f9ee9aeb6e2053e3a624 and fixed in 7.3-rc1 with commit 79aba4c9403419d822972d2851f2a96a2c0531cf Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80813 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/nvme/target/admin-cmd.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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