CVE-2026-142914
HIGH 7.0CVSS 3.1btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()
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.
- Published
- 3 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < ece924917ba5d9b76fc27382d3cb958b7dcf24f3; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < 649887e68f913af415cd7a681f2c0c27073dea67; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < cbbee43ed8aec90bdd8967b893fe3f33c991a485; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < f5111f6f16696983595fb25b3e62fce06f6feb02; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < 057e3c350a9185df598c88b4081168ed047c9247; = 3939448a3adb1a157d4b01ca9082b6a19b6c4a34; = fc2345d56d07227350981e4528a9dc9ca7f1b570; >= 3.12.14, < 3.13; >= 3.13.7, < 3.14 | 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6, ece924917ba5d9b76fc27382d3cb958b7dcf24f3, 649887e68f913af415cd7a681f2c0c27073dea67, cbbee43ed8aec90bdd8967b893fe3f33c991a485, f5111f6f16696983595fb25b3e62fce06f6feb02, 057e3c350a9185df598c88b4081168ed047c9247, 3.13, 3.14 |
| CVE List | Linux | Linux | = 3.14 |
References
- https://git.kernel.org/stable/c/057e3c350a9185df598c88b4081168ed047c9247
- https://git.kernel.org/stable/c/38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6
- https://git.kernel.org/stable/c/649887e68f913af415cd7a681f2c0c27073dea67
- https://git.kernel.org/stable/c/cbbee43ed8aec90bdd8967b893fe3f33c991a485
- https://git.kernel.org/stable/c/ece924917ba5d9b76fc27382d3cb958b7dcf24f3
- https://git.kernel.org/stable/c/f5111f6f16696983595fb25b3e62fce06f6feb02
History
- 4 Dec 2026 05:56 UTC · NVD: scored 7.0
- 4 Dec 2026 03:56 UTC · CVE List: scored 7.0
- 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)