CVE-2026-142914
btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root() If in btrfs_tree_mod_log_insert_root() there is an error in the call to tree_mod_log_insert() (the only possible error is -EEXIST, which means we have a bug or some memory corruption maybe) we free all the nodes in the 'tm_list' array but we don't remove them from the tree-mod-log rbtree, which can result in use-after-free bugs later. So make sure we remove the nodes from the rbtree before freeing them after an error.
INFO
Published Date :
Dec. 3, 2026, 3:25 a.m.
Last Modified :
Dec. 3, 2026, 3:25 a.m.
Remotely Exploit :
No
Source :
Linux
Affected Products
The following products are affected by CVE-2026-142914
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.
No affected product recoded yet
Solution
- Update the Linux kernel to the latest version.
- Apply the btrfs tree-mod-log fix.
- Ensure nodes are removed from rbtree before freeing.
- Rebuild the kernel with the fix applied.
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-142914 vulnerability anywhere in the article.