Read the docs

Linux kernel btrfs leaves dangling tree-mod-log nodes after errors

Priority LOW 30Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

The Linux kernel btrfs code is affected from 3.12.14 before 3.13, from 3.13.7 before 3.14, and from 3.14 onward. When an insert in btrfs_tree_mod_log_insert_root() fails, the code frees the nodes but leaves them in the tree-mod-log rbtree. A local user with low privileges can then reach these dangling nodes, which can lead to use-after-free bugs with high impact to confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

EPSS 0.00264 19th percentileScored 2026-12-04
Fix Partial Linux (Linux): 3.13, 3.14, 6.1.193 +5Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux3.12.14 to before 3.13; 3.13.7 to before 3.143.13, 3.14Patch availableCNA
LinuxLinux3.14 and later6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 3.12.14 to before 3.13; 3.13.7 to before 3.14 Fixed in 3.13, 3.14 Patch available CNA
  • Linux VendorLinux Affected 3.14 and later Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Fixed Linux kernel versions are 3.13, 3.14, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1. Red Hat lists no available fix plan for Red Hat Enterprise Linux 10 and Red Hat OpenShift Container Platform 5.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA Linux (Linux) Fixed in 3.13, 3.14
  • Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 6 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-142914
  2. 2026-12-03 Alias added: GHSA-w29m-9v9p-fxhq
  3. 2026-12-03 Affected versions changed · Red Hat
  4. 2026-12-03 CVSS score added · Red Hat
  5. 2026-12-04 CVSS score added · CNA
  6. 2026-12-04 Affected versions changed · Red Hat
  7. 2026-12-04 Affected versions changed · Red Hat

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 24154 →

Sources