CVE-2026-143241
In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: don't wait for ordered extents in do_zone_finish() do_zone_finish() calls btrfs_wait_ordered_roots(), which holds fs_info->ordered_operations_mutex while waiting for writeback. It can be reached from writeback itself: cow_file_range() `-> btrfs_reserve_extent() `-> find_free_extent() `-> btrfs_zone_finish_one_bg() `-> do_zone_finish() If another task holds the mutex and waits for that writeback, this deadlocks. In general, we want to ensure all writes in the block group to complete before finishing the zone, as relocation does. However, the current callers do not need the wait (or cannot wait) in do_zone_finish(): - Relocation already waits for reservations and ordered extents itself before calling btrfs_zone_finish(). - btrfs_delete_unused_bgs() checks that ->reserved is zero and sets the block group read-only while holding groups_sem, so there can be no in-flight data write. - btrfs_zone_finish_one_bg() is called from the allocation path and cannot wait. Dropping the wait is still safe. Once the block group is read-only, ->reserved can only drop, and for data it only drops after the ordered extent's I/O has completed. So if ->reserved is zero, no data write is left in flight. If it is non-zero, do_zone_finish() returns -EAGAIN, which all callers handle. This makes btrfs_zone_finish_one_bg() fail with -EAGAIN when it races with an allocation in the selected block group.
Affected versions
Linux kernel versions
5.18.18,
5.19.2,
6.0
and later are affected. Fixed in
6.12.120,
6.18.66,
7.3.7,
7.4-rc3
and their respective stable series.
References
4 totalFrequently asked questions
-
What is CVE-2026-143241?
CVE-2026-143241 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.18.18 onward and has been patched in 6.12.120, 6.18.66, 7.3.7 and others. CVE-2026-143241 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-143241?
Yes. CVE-2026-143241 has been patched. Fixed versions include 6.12.120, 6.18.66, 7.3.7 and others. If you are running Linux kernel 5.18.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-143241 actively exploited?
No. CVE-2026-143241 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.