Unrated severityNVD Advisory· Published Dec 3, 2026
CVE-2026-142914
CVE-2026-142914
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.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/057e3c350a9185df598c88b4081168ed047c9247nvd
- git.kernel.org/stable/c/38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6nvd
- git.kernel.org/stable/c/649887e68f913af415cd7a681f2c0c27073dea67nvd
- git.kernel.org/stable/c/cbbee43ed8aec90bdd8967b893fe3f33c991a485nvd
- git.kernel.org/stable/c/ece924917ba5d9b76fc27382d3cb958b7dcf24f3nvd
- git.kernel.org/stable/c/f5111f6f16696983595fb25b3e62fce06f6feb02nvd
News mentions
0No linked articles in our index yet.