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 0203428A704 for ; Thu, 10 Jul 2025 07:43:42 +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=1752133422; cv=none; b=QiQ0/4WI6cHYqg9MGVvph2BAIXiZbHnTaY2qqK08p2FwNkuPigC5T1jgl9IiKMvDGhN1jqgBXN1t2HL8CHuHMYdEpmYWPbuwV9y4wEOu7ZM9aWwNWebWlAysSS7AaeV4WOLJyM63FrWcjwxsEZTBSboD1pOK0iUdjj7onVgqWK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133422; c=relaxed/simple; bh=R9xkLP25pFmYOzEgS0d1QL1rgsxjLPPkVX4F35rWs/8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DKJ04d7otPXZxRaZEMpfcukZ0/VhEuSZFXvSHUb+06SSLs4kwkHczRfeWNnmSlvdhsXXab5ARGH/Rqes7oplALkOKbyjq2ttHAhOTAFILmqFTTRNhvNa9bZCr2yIZcpNxVyOLY/ckY8Ju8DJ61c6pSpiOHPi8kiAGMP+6uFEINA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qtijNssN; 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="qtijNssN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86D3FC4CEF4; Thu, 10 Jul 2025 07:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133421; bh=R9xkLP25pFmYOzEgS0d1QL1rgsxjLPPkVX4F35rWs/8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qtijNssNBwfYZu9gvEsbMDIPfzF2eE8f2frJBtzwlx/MI9wrJ7V+LAkWhUs+B43EY 7YWU6kMs9nAo2j5A9PZbB2LNhrf2C7ddIeIrsYZRF/XFJR5D2Zqvi8CzywBAvK/GDv E9E/qTXMOlwpTN7UBiZRCPU2h46aCdUcvcb9Iejs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38302: block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work Date: Thu, 10 Jul 2025 09:42:43 +0200 Message-ID: <2025071013-CVE-2025-38302-b915@gregkh> X-Mailer: git-send-email 2.50.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=2414; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=476ujiYeK2Y7Y0Fcd1kvhc0UheYaOMBQYWBJAOFdMJk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eVdTJzmmc+6ecfKw+UK2mZX+3PrNt3+p7LuuoKU4d 2ZzKfOJjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIlecMcyWt2Jvy6+R43yzc cvZeWvz/4tqb8xkWrI5PDTV5K7H7kcjTwOWPZ2e/vCPQAQA= 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: block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work Bios queued up in the zone write plug have already gone through all all preparation in the submit_bio path, including the freeze protection. Submitting them through submit_bio_noacct_nocheck duplicates the work and can can cause deadlocks when freezing a queue with pending bio write plugs. Go straight to ->submit_bio or blk_mq_submit_bio to bypass the superfluous extra freeze protection and checks. The Linux kernel CVE team has assigned CVE-2025-38302 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 9b1ce7f0c6f82e241196febabddba5fab66c8f05 and fixed in 6.12.34 with commit 0fccb6773b1f4f992e435582cf8e050de421b678 Issue introduced in 6.10 with commit 9b1ce7f0c6f82e241196febabddba5fab66c8f05 and fixed in 6.15.3 with commit 6ffae5d53f704d300cc73b06b4ea99e4507f7cf1 Issue introduced in 6.10 with commit 9b1ce7f0c6f82e241196febabddba5fab66c8f05 and fixed in 6.16-rc2 with commit cf625013d8741c01407bbb4a60c111b61b9fa69d 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-2025-38302 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: block/blk-zoned.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/0fccb6773b1f4f992e435582cf8e050de421b678 https://git.kernel.org/stable/c/6ffae5d53f704d300cc73b06b4ea99e4507f7cf1 https://git.kernel.org/stable/c/cf625013d8741c01407bbb4a60c111b61b9fa69d