Bug 2590019 (CVE-2026-143242) - CVE-2026-143242 kernel: kernel: Denial of Service via use-after-free in Btrfs extent buffer writeback
Summary: CVE-2026-143242 kernel: kernel: Denial of Service via use-after-free in Btrfs...
Keywords:
Status: NEW
Alias: CVE-2026-143242
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:58 UTC by OSIDB Bzimport
Modified: 2026-12-03 16:03 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:58:48 UTC
In the Linux kernel, the following vulnerability has been resolved:

btrfs: zoned: fix possible UAF in wait_eb_writebacks()

wait_eb_writebacks() iterates the fs_info->buffer_tree xarray and waits
for the writeback of these extent-buffers. Waiting for writeback needs
to be done without the rcu_read_lock() held (because it can sleep) and
thus the loop drops the rcu_read_lock() before calling into
wait_on_extent_buffer_writeback(). But extent_buffers are freed through
RCU, so if btrfs_release_extent_buffer_rcu() is scheduled while we're
still waiting on the writeback, the extent_buffer will be freed causing
a use-after-free.

Similar to what is done in find_extent_buffer_nolock(), get a reference
to the extent_buffer before calling into
wait_on_extent_buffer_writeback() so a successful writeback does not
free the extent_buffer while we still have a reference to it.


Note You need to log in before you can comment on or make changes to this bug.