CVE-2026-142914 btrfs: fix dangling nodes in tree-mod-log after error in btrfs_tree_mod_log_insert_root()
linux linux: no CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.3% estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 6.1.193
- Linux Linux: fixed in 6.6.163
- Linux Linux: fixed in 6.12.119
- Linux Linux: fixed in 6.18.65
- Linux Linux: fixed in 7.3.6
- Linux Linux: fixed in 7.4-rc1
- Debian: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142914 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142914?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142914?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142914 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | from 3.12.14 before 3.13 |
| Linux | from 3.13.7 before 3.14 |
| Linux | 3.14 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 6.1 | 6.1.193 |
| Linux | 6.6 | 6.6.163 |
| Linux | 6.12 | 6.12.119 |
| Linux | 6.18 | 6.18.65 |
| Linux | 7.3 | 7.3.6 |
| Linux | later releases | 7.4-rc1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | linux | no fix listed | DEBIAN-CVE-2026-142914 |
| Debian | 14 | linux | 7.3.6-1 | DEBIAN-CVE-2026-142914 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
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