Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U H H H 7.8 .0021 10.9 —
AFFECTED
Product Versions Fixed
Linux e8513c012de75fd65e2df5499572bc6ef3f6e409 – —
Linux 6.18 – 6.18.6
TIMELINE
Jan 13 Reserved by Linux
Jan 23 Published (CNA: Linux)
Jul 30 RESCORED — CVE-2025-71159 (Linux). CVSS 9.8 → 7.8 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()
Previously, btrfs_get_or_create_delayed_node() set the delayed_node's
refcount before acquiring the root->delayed_nodes lock.
Commit e8513c012de7 ("btrfs: implement ref_tracker for delayed_nodes")
moved refcount_set inside the critical section, which means there is
no longer a memory barrier between setting the refcount and setting
btrfs_inode->delayed_node.
Without that barrier, the stores to node->refs and
btrfs_inode->delayed_node may become visible out of order. Another
thread can then read btrfs_inode->delayed_node and attempt to
increment a refcount that hasn't been set yet, leading to a
refcounting bug and a use-after-free warning.
The fix is to move refcount_set back to where it was to take
advantage of the implicit memory barrier provided by lock
acquisition.
Because the allocations now happen outside of the lock's critical
section, they can use GFP_NOFS instead of GFP_ATOMIC.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| January 13, 2026 | Reserved | Reserved by Linux |
| January 23, 2026 | Published | Published (CNA: Linux) |
| July 30, 2026 | RESCORED | RESCORED — CVE-2025-71159 (Linux). CVSS 9.8 → 7.8 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | e8513c012de75fd65e2df5499572bc6ef3f6e409 | — |
| Linux | Linux | — | 6.18 | 6.18.6 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-71159 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.