All vulnerabilities

Servers and applications

CVE-2026-143241

btrfs: zoned: don't wait for ordered extents in do_zone_finish()

Severity
Unrated
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
5.19, 5.20, 6.12.120, 6.18.66, 7.3.7
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

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.
From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 5.18.18 before 5.19
  • From 5.19.2 before 5.20
  • From 6.0 before 6.12.120
  • From 6.13 before 6.18.66
  • From 6.19 before 7.3.7

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 4 vulnerable
PackageDebian releaseStatus
linuxsidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-143241 , read in the last 12 hours.

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-143241