[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071013-CVE-2025-38302-b915@gregkh>
Date: Thu, 10 Jul 2025 09:42:43 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38302: block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists