CVE-2026-143242
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.
Affected versions
Linux kernel versions
5.19.12,
6.0
and later are affected. Fixed in
6.18.66,
7.3.7,
7.4-rc3
and their respective stable series.
References
3 totalFrequently asked questions
-
What is CVE-2026-143242?
CVE-2026-143242 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.19.12 onward and has been patched in 6.18.66, 7.3.7 and 7.4-rc3. CVE-2026-143242 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-143242?
Yes. CVE-2026-143242 has been patched. Fixed versions include 6.18.66, 7.3.7 and 7.4-rc3. If you are running Linux kernel 5.19.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-143242 actively exploited?
No. CVE-2026-143242 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.