CVE-2026-142914
btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()
AI summary AI generated
An attacker who can trigger the error path in the Linux kernel's btrfs tree-mod-log can cause use-after-free bugs by leaving freed nodes linked in the rbtree.
Mitigation
- Upgrade Linux to 3.14 or later.
Who should check
- Anyone running 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
- Anyone running Linux 3.14
Vulnerability facts
- Affected
- 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; Linux 3.14
- Fixed in
- Linux 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6, Linux 649887e68f913af415cd7a681f2c0c27073dea67, Linux 057e3c350a9185df598c88b4081168ed047c9247, Linux 3.13, Linux 3.14
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | — | cvelist |
| Linux | 3.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-142914. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142914.md Affected: Linux >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < ece924917ba5d9b76fc27382d3cb958b7dcf24f3; >= 5de865eebb8330eee19c37b31fb6f315a09d4273, < 649887e68f913af415cd7a681f2c0c27073dea67; >= 5de865eebb8330eee19c37b… Fixed in: Linux 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6, Linux 649887e68f913af415cd7a681f2c0c27073dea67, Linux 057e3c350a9185df598c88b4081168ed047c9247, Linux 3.13, Linux 3.14 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6
- https://git.kernel.org/stable/c/ece924917ba5d9b76fc27382d3cb958b7dcf24f3
- https://git.kernel.org/stable/c/649887e68f913af415cd7a681f2c0c27073dea67
- https://git.kernel.org/stable/c/cbbee43ed8aec90bdd8967b893fe3f33c991a485
- https://git.kernel.org/stable/c/f5111f6f16696983595fb25b3e62fce06f6feb02
- https://git.kernel.org/stable/c/057e3c350a9185df598c88b4081168ed047c9247
FAQ
Is CVE-2026-142914 being exploited?
There is no confirmed exploitation: CVE-2026-142914 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142914?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-142914?
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; Linux 3.14.
Is there a fix for CVE-2026-142914?
Yes. Fixed in Linux 38b9f8ad50bd12d3c3cdd8ef78203eafabc4dab6, Linux 649887e68f913af415cd7a681f2c0c27073dea67, Linux 057e3c350a9185df598c88b4081168ed047c9247, Linux 3.13, Linux 3.14. Upgrade Linux to 3.14 or later.
How do I check if I'm affected by CVE-2026-142914?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |