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 B3F7C4F4742 for ; Wed, 16 Sep 2026 10:42:35 +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=1789555381; cv=none; b=mamJRpaAfKTgyL3yLRIB6zjlhcuwyHivy9Kmge1JJidrWN4Cck2v53uXiRVrXRfVCtZo4irtxr97zIUq5vCQBRF4WuCXa1iVyx9tFgHz+TKT3/r7xJwhIVRnQ9c59qrg4Ol44NnAZEcNR9l7xhMEQ6NCfaiE6UlgPvBvrUnD5WE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555381; c=relaxed/simple; bh=LKQWkofvguV2zNQhTgpKr/rYy5E+2H8Trg16nCKjwmk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SVIUX1AJH6z5ccpAkUg2STQqmp5cgmkEn0t/5eAcVCCfeW1tiswVgPNb/9x7v8FYLYfxfMdPv9ZhdqcJopWezrMurbP5W1NlOckwb3iAhkS1qfDkm3Xcia3CT6LvbLgJCKLA91DkCEFVVLe6/SsDr/pd1tS5NyiWkeN5O/nibBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GdZ46JAP; 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="GdZ46JAP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA8891F0089A; Wed, 16 Sep 2026 10:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555353; bh=Y2wuFu1fa7WYrVe478jfvMaRPXsnNdpLPmmc2D789Dg=; h=From:To:Cc:Subject:Date:Reply-To; b=GdZ46JAPtuUe8MyWJgNtX2zVLH+8P60IEZbEu8QQdN16SMtT0tVDHoNAxzYasvEa3 DuoBZe1cDaU6/LSr7rVC73druZ7x1m9mQBg9aodjaO5+GPLeyB+RXW85sqLerFDXnd KtuFzxh4XcdXigR9BdqtDL3kFT6i61oVKTUhGRkE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89972: nvme: add missing SRCU grace period in error path Date: Wed, 16 Sep 2026 11:31:42 +0100 Message-ID: <2026091653-CVE-2026-89972-a33a@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=2582; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CPOMvhU1FCEDW4E8BhVeJRmR2Yf/EnNu+bpD1gKpMyM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8hc9aDtTH/nasv1bk3jC/N9xv0xd80LZjvz0S3q71 ONkv49QRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk35lhntFShl++4d+E7025 JPbCr23y2lpbS4YFbdHTrtZap7ddjzyY6F31wUbPKFIMAA== 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: nvme: add missing SRCU grace period in error path nvme_alloc_ns() error path at out_unlink_ns removes ns from the namespace head siblings list with list_del_rcu(&ns->siblings) but does not wait for SRCU readers before freeing the namespace struct. Multipath code iterates the head->list under srcu_read_lock() in nvme_find_path() and nvme_mpath_revalidate_paths(), so a concurrent reader can still hold a reference to ns when kfree(ns) runs. The normal removal path in nvme_ns_remove() correctly calls synchronize_srcu(&ns->head->srcu) after list_del_rcu() to wait for in-progress readers. Add the same grace period in the error path. The Linux kernel CVE team has assigned CVE-2026-89972 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit ed754e5deeb17f4e675c84e4b6c640cc7344e498 and fixed in 6.18.51 with commit d663944dbad81bb0e3635d7090db4713e6300858 Issue introduced in 4.15 with commit ed754e5deeb17f4e675c84e4b6c640cc7344e498 and fixed in 7.2.5 with commit 76023560d60f10b4f808941163aa2975f1631683 Issue introduced in 4.15 with commit ed754e5deeb17f4e675c84e4b6c640cc7344e498 and fixed in 7.3-rc2 with commit ef248d5de4469fb6bbaf8dbe0c4c47800080d648 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-89972 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/host/core.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/d663944dbad81bb0e3635d7090db4713e6300858 https://git.kernel.org/stable/c/76023560d60f10b4f808941163aa2975f1631683 https://git.kernel.org/stable/c/ef248d5de4469fb6bbaf8dbe0c4c47800080d648