Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EF159152187 for ; Wed, 3 Apr 2024 17:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165582; cv=none; b=GNkgY3N2G94sOqMF7a6zZtifRsbtkY64Qy7Ni0atFrWZWgHEHV/HDSvz4f2zn26Sh8i3u64OycGZO6xU4VMtJDCMc2PxdJk/SeLupoZgkgNFG2qnDKn8VUG86MNy62RSsTSSmjNdaBDlTAnTTGJlbXQD6ojBF9+Qbbl9wielmTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165582; c=relaxed/simple; bh=LhgInaNiML2XM1nZzlK9kv1RCr7Z+Rcpq6QLtTMi5Ys=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OzziH0v+Bz0RyNx/bDIkGjPfbPI7IO8nYCNte0JmhMQltUI1A5bw1cLhKmABeQevjPFv73SoV9dVW6wrqt9ZvylcTnV/G/0m4BjB4Q0iMYw9LtVjym91ghTzOPV2NCMO23FFlKGPMn926IKy7xwzfg+ftFario70DmWKgrv7o6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K8xIjtNP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="K8xIjtNP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AAC8C433C7; Wed, 3 Apr 2024 17:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165581; bh=LhgInaNiML2XM1nZzlK9kv1RCr7Z+Rcpq6QLtTMi5Ys=; h=From:To:Cc:Subject:Date:Reply-to:From; b=K8xIjtNPjtbYF8WvJSY1l+79qnjG0HWT7cvHY3nNWPvX7Sj1h5CqYkkNTW7QRw8e/ H+YJraPcWLd48tZakTDrXPHAZR8aybL3V/wqP6ff/z4dGA8xSgxLPaQy14dw2IaIQ1 Zuu+50yGB3O+3HjkRzURrIuevTGKtCFho4NtYG3Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26769: nvmet-fc: avoid deadlock on delete association path Date: Wed, 3 Apr 2024 19:31:36 +0200 Message-ID: <2024040307-CVE-2024-26769-e9cc@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2074; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LhgInaNiML2XM1nZzlK9kv1RCr7Z+Rcpq6QLtTMi5Ys=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k6I58ptjtF8I1F8Sadtcs3mxfD9jbJmCKy9T4YmEV rl2H+WOWBYGQSYGWTFFli/beI7urzik6GVoexpmDisTyBAGLk4BmIh5JcP8rFCTjcd5ZtX2nlhj 3hLC7Tvl7ruFDAs2er85yDCj+7yn9z67A2+WLF+bEyAIAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: avoid deadlock on delete association path When deleting an association the shutdown path is deadlocking because we try to flush the nvmet_wq nested. Avoid this by deadlock by deferring the put work into its own work item. The Linux kernel CVE team has assigned CVE-2024-26769 to this issue. Affected and fixed versions =========================== Fixed in 5.15.150 with commit 5e0bc09a52b6 Fixed in 6.1.80 with commit 9e6987f8937a Fixed in 6.6.19 with commit eaf0971fdabf Fixed in 6.7.7 with commit 1d86f7928720 Fixed in 6.8 with commit 710c69dbaccd 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-2024-26769 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/fc.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/5e0bc09a52b6169ce90f7ac6e195791adb16cec4 https://git.kernel.org/stable/c/9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8 https://git.kernel.org/stable/c/eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30 https://git.kernel.org/stable/c/1d86f79287206deec36d63b89c741cf542b6cadd https://git.kernel.org/stable/c/710c69dbaccdac312e32931abcb8499c1525d397