0.0
NA
CVE-2026-143242
btrfs: zoned: fix possible UAF in wait_eb_writebacks()
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.

INFO

Published Date :

Dec. 3, 2026, 10:18 a.m.

Last Modified :

Dec. 3, 2026, 10:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-143242 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel patch to prevent use-after-free by obtaining extent buffer references.
  • Update the Linux kernel to the latest version.
  • Apply the btrfs: zoned: fix possible UAF in wait_eb_writebacks() patch.
  • Ensure extent buffer references are held during writeback waits.
  • Rebuild and deploy the patched kernel.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-143242.

URL Resource
https://git.kernel.org/stable/c/03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5
https://git.kernel.org/stable/c/8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f
https://git.kernel.org/stable/c/c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-143242 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-143242 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143242 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-143242 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143242.json">CVE-2026-143242</a>
    Added Reference https://git.kernel.org/stable/c/03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5
    Added Reference https://git.kernel.org/stable/c/8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f
    Added Reference https://git.kernel.org/stable/c/c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.