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 D0F2C35A933 for ; Sat, 15 Aug 2026 06:14:01 +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=1786774442; cv=none; b=Etg6/l/LRkMWs7hKsU8HVfFfz5fAwbLbjoXkAXOm2vNItRmPYXf1k8yl3apOz1tnxrvTNQ6awAAD4/hB2XwtpXRALfJyxfa0Ah+9x+e+TyHuSiP0pniicFR2QROczJgk6QybjcBPQPySJZClpGfExa4SZK+BLiI0eEhql0HWbqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774442; c=relaxed/simple; bh=q0NyHRX5a13BKg/bXCG11hJT9evx3tmmn20aXe6EXuo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e74wVAv8vUuxNY1GCu72TkhDDL0kFnygpV5SqFku1YGNO57yjZw6JlbJWU/2H+jXdCraoLHb9XI3tSXKWA2+b9Zv5j07jNHyHEIyricqbxkLYJO5Xm8yO5DfDbiUhKnbD0OmU0wcgj+fNtypqp0DXUwkzT8hh6EDj9hEUHmRNt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cnJHN4jD; 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="cnJHN4jD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3397E1F000E9; Sat, 15 Aug 2026 06:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774441; bh=1iumJf++rhH+/1CesIiDxJO6BLBtonp6utHXOSIfVGc=; h=From:To:Cc:Subject:Date:Reply-To; b=cnJHN4jDfEyx9v+eNPtfRbCWr/RhNobQ2lwjhU2mUi/OwHIuq/Jl4wS5mdvLQy1c9 liTArjxS80uAM94nCLJJE+ZFGH95/S61g3vbXHD97vwu8Y2yL+Y7lTz27xrQGBciOE plaM/ThYLluL/FYpdFG+Y5I93EY68HGe+F9Ga5LQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72128: nvmet: fix refcount leak in nvmet_sq_create() Date: Sat, 15 Aug 2026 15:03:27 +0900 Message-ID: <2026081530-CVE-2026-72128-6027@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=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CQZUj3GB/dNXw+uAqoCN+pNL2G4+affkWWd2eZlEVF8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLtmepQ58B6Qft4jz/j35N0jUuetVuy8nG/+fe7Vl eurFHuPdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE5hgxzA9tat0W0e+xzCw/ wDbg0vKJkfMm9DMs6Jdvdiz9EHRTc72QgaBAjV3+nWeVAA== 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 refcount leak in nvmet_sq_create() In nvmet_sq_create(), a reference on the ctrl is taken via kref_get_unless_zero() before calling nvmet_check_sqid(). If nvmet_check_sqid() fails, the function returns the error directly without releasing the reference, leading to a leak. Fix this by jumping to the "ctrl_put" label, which already performs the necessary nvmet_ctrl_put(ctrl). This ensures the reference is properly released on this error path. The Linux kernel CVE team has assigned CVE-2026-72128 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 1eb380caf5275bba1d3d6182dde1fd740f331743 and fixed in 6.18.40 with commit 26355295ce21cb046546085c3a81abe68160a784 Issue introduced in 6.14 with commit 1eb380caf5275bba1d3d6182dde1fd740f331743 and fixed in 7.1.5 with commit fcef60ed5f714a24104eb021d6397a67955ebeff Issue introduced in 6.14 with commit 1eb380caf5275bba1d3d6182dde1fd740f331743 and fixed in 7.2-rc1 with commit 34b9a83c50660148bde01cde16451dbe78369749 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-72128 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/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/26355295ce21cb046546085c3a81abe68160a784 https://git.kernel.org/stable/c/fcef60ed5f714a24104eb021d6397a67955ebeff https://git.kernel.org/stable/c/34b9a83c50660148bde01cde16451dbe78369749