CVE-2026-143242

Unknown

Last modified

CVE-2026-143242 is a vulnerability of currently unknown severity. 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().

Description

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 Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 2dd7e7bc02829eded71be2342a93dc035f5223f9, < c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234; >= 2dd7e7bc02829eded71be2342a93dc035f5223f9, < 03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5; >= 2dd7e7bc02829eded71be2342a93dc035f5223f9, < 8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f; eecada16bcc43562539a466c420697fae53f1c60; >= 5.19.12, < 5.20
LinuxLinux6.0

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is 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.
How severe is CVE-2026-143242?
Severity scoring for CVE-2026-143242 is pending analysis.
How do I fix CVE-2026-143242?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143242?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST