{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143242","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.362Z","datePublished":"2026-12-03T09:20:54.340Z","dateUpdated":"2026-12-03T09:20:54.340Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:20:54.340Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: fix possible UAF in wait_eb_writebacks()\n\nwait_eb_writebacks() iterates the fs_info->buffer_tree xarray and waits\nfor the writeback of these extent-buffers. Waiting for writeback needs\nto be done without the rcu_read_lock() held (because it can sleep) and\nthus the loop drops the rcu_read_lock() before calling into\nwait_on_extent_buffer_writeback(). But extent_buffers are freed through\nRCU, so if btrfs_release_extent_buffer_rcu() is scheduled while we're\nstill waiting on the writeback, the extent_buffer will be freed causing\na use-after-free.\n\nSimilar to what is done in find_extent_buffer_nolock(), get a reference\nto the extent_buffer before calling into\nwait_on_extent_buffer_writeback() so a successful writeback does not\nfree the extent_buffer while we still have a reference to it."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/zoned.c"],"versions":[{"version":"2dd7e7bc02829eded71be2342a93dc035f5223f9","lessThan":"c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234","status":"affected","versionType":"git"},{"version":"2dd7e7bc02829eded71be2342a93dc035f5223f9","lessThan":"03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5","status":"affected","versionType":"git"},{"version":"2dd7e7bc02829eded71be2342a93dc035f5223f9","lessThan":"8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f","status":"affected","versionType":"git"},{"version":"eecada16bcc43562539a466c420697fae53f1c60","status":"affected","versionType":"git"},{"version":"5.19.12","lessThan":"5.20","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/btrfs/zoned.c"],"versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/c5c4e275a5f95f016cd9a0e3cfda63f44b7a9234"},{"url":"https://git.kernel.org/stable/c/03b6dadd0fcb77b7ebcaf3a007f0880acb4844f5"},{"url":"https://git.kernel.org/stable/c/8ca411c7ad2c02ae65ae208a3f7483d6e0159c4f"}],"title":"btrfs: zoned: fix possible UAF in wait_eb_writebacks()","x_generator":{"engine":"bippy-1.2.0"}}}}