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 9A9F01A4F02 for ; Thu, 21 Nov 2024 18:17:33 +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=1732213053; cv=none; b=l6Rk10Z2V5uZ3SaokufwyAsmZ8tzE/j5rziIA0oVQ8vpMiZR1CHL2iA2W6eMP6LvWcKe2wK3l5/mt09l7CrPgQq0g2GPbL5BM9mhxkuMXu7uPXpy2Z5FKZ6zS1oQmPzGePwP9PGP6mx3Qtxl4Yi1FXDGokK8Th1UIrbAH2bledM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732213053; c=relaxed/simple; bh=B1G8UbTaXGnFfJ9ko4/q8sfk4erYBgbO96Yi4dtQG7o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c63keEAy6coz94ROPlcXYSbH9KBFgVTl0wE8KGtgcqw5HhXVb9JNVn3H8a1ZIjXiIzEt5jSo2+KQkt0OabHeft1UWF7Mhx/NxocMvNUKRrXUPZesQlp2fUObdNuJvTRj/JSh4JWAtHflSl36elHTc0D/t35+8dgQn0fZ2VgWELw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=y9qkilcM; 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="y9qkilcM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF6DDC4CECC; Thu, 21 Nov 2024 18:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732213053; bh=B1G8UbTaXGnFfJ9ko4/q8sfk4erYBgbO96Yi4dtQG7o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=y9qkilcMOKQxHmfVN2FaN/A9v17Pxu0mBDYYYyVh7wuKZXriNDYv008R8h37hf2kT fNTbtxFmGzAOlgze5XVu210vHCVJLxThdJ9Ex4nfpVQRlMOTq4tRPVbWyrRcopi6+O LgsFSamzFiTg0Fwx905Z+3qzoJXeZu3eWu18Agl8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53093: nvme-multipath: defer partition scanning Date: Thu, 21 Nov 2024 19:16:54 +0100 Message-ID: <2024112152-CVE-2024-53093-f854@gregkh> X-Mailer: git-send-email 2.47.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=2146; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B1G8UbTaXGnFfJ9ko4/q8sfk4erYBgbO96Yi4dtQG7o=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn2lSLup1puCieevbXdm9v815m8x/tt+WwTjgbtOPPC9 LxZ6wTbjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIbyDDgqm+1r8cZ7471yoa 4yZRUtzsq5vwlmGuzMr5fw/s770ww+bJ3bxH0WGf41OdAQ== 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: nvme-multipath: defer partition scanning We need to suppress the partition scan from occuring within the controller's scan_work context. If a path error occurs here, the IO will wait until a path becomes available or all paths are torn down, but that action also occurs within scan_work, so it would deadlock. Defer the partion scan to a different context that does not block scan_work. The Linux kernel CVE team has assigned CVE-2024-53093 to this issue. Affected and fixed versions =========================== Fixed in 6.1.118 with commit 60de2e03f984 Fixed in 6.6.62 with commit 4a57f42e5ed4 Fixed in 6.11.9 with commit a91b7eddf45a Fixed in 6.12 with commit 1f021341eef4 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-53093 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/multipath.c drivers/nvme/host/nvme.h 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/60de2e03f984cfbcdc12fa552f95087c35a05a98 https://git.kernel.org/stable/c/4a57f42e5ed42cb8f1beb262c4f6d3e698939e4e https://git.kernel.org/stable/c/a91b7eddf45afeeb9c5ece11dddff5de0921b00f https://git.kernel.org/stable/c/1f021341eef41e77a633186e9be5223de2ce5d48