Skip to main content
VulnerabilityPublished

CVE-2026-143242: Linux kernel · btrfs: zoned: fix possible UAF in wait_eb_writebacks()

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234 : update Linux kernel when convenient.

Data as of 3 Dec 2026, 09:45 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234, 8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f, 5.20 +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234, 8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f, 5.20 or 03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • >=5.19.12 <5.20
Fixed in
  • c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234
  • 8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f
  • 5.20
  • 03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5
LinuxLinuxAffected
  • =6.0
Fixed in–

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.

References

Community reviews

Loading reviews…