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 E16B57E575 for ; Wed, 22 May 2024 08:20:38 +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=1716366039; cv=none; b=t2h82sdHTmblZESsqc3K1yTaLcjkLm5G8l7yxDBf35R73s4iXczb38bx5WB90ATxkshUn2zQ9NSWGhucA7qYSXGi+ItfxY6c7EuYQ1I1vt1nUpmx/rLJmvEVqVqbhPym2wTKBeV1rdG4xoZx+8dAq00j0EcIukvbN0B2vP1hYkk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366039; c=relaxed/simple; bh=aSA/FeyqXB6MfzxPZZGzDrT3VEvaC44D1a1vY/SNQtQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K41NNxk9uOV+NEnG9+Vr2UqX6XeoLFJ8XgeuMdZ++ISq/cnb8Aj88ieT+Tsw8HxaqSwkS+R6fsoeFz8f8BdAhM+oibk3NvAeXe8xdYLAttbSHkHPkvnyS3ja4TyXEkMtpb3j3LLKLx3JqJA6yuGmCUH68IV9cujPasCc4Z516qY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GN1tElud; 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="GN1tElud" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1328CC2BD11; Wed, 22 May 2024 08:20:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716366038; bh=aSA/FeyqXB6MfzxPZZGzDrT3VEvaC44D1a1vY/SNQtQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GN1tEludp6HI9tR5DQMlzOfotYbm5wnk1tBljRyAxNmzrpTUQNW4cbI9O4/MnumPV 67OOD6xLcaak3V65RCzUJCew3AlRtWv9hVh9skSD09ZaJsxs1B0HUHE6oGenpRZHHU oRtoQFORFzivjJETpeOOlw58q1oF2VnsSazoQ/3w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47498: dm rq: don't queue request to blk-mq during DM suspend Date: Wed, 22 May 2024 10:19:58 +0200 Message-ID: <2024052243-CVE-2021-47498-dc02@gregkh> X-Mailer: git-send-email 2.45.1 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=1906; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aSA/FeyqXB6MfzxPZZGzDrT3VEvaC44D1a1vY/SNQtQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm+q+ZvOq1sOSX2cGT/manHucJi5h+Y7GkXeO3D0ye9Z xU65x3e1RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATaX3LMN/r5oJUb+XoZUYv XB3X1EbcO386o5phrohD8d6dl5jUT6pIS2jNL5w+o//6KwA= 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: dm rq: don't queue request to blk-mq during DM suspend DM uses blk-mq's quiesce/unquiesce to stop/start device mapper queue. But blk-mq's unquiesce may come from outside events, such as elevator switch, updating nr_requests or others, and request may come during suspend, so simply ask for blk-mq to requeue it. Fixes one kernel panic issue when running updating nr_requests and dm-mpath suspend/resume stress test. The Linux kernel CVE team has assigned CVE-2021-47498 to this issue. Affected and fixed versions =========================== Fixed in 5.14.14 with commit 8ca9745efe35 Fixed in 5.15 with commit b4459b11e840 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-2021-47498 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/md/dm-rq.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/8ca9745efe3528feb06ca4e117188038eea2d351 https://git.kernel.org/stable/c/b4459b11e84092658fa195a2587aff3b9637f0e7