CVE-2025-71159
BaseFortify
Publication date: 2026-01-23
Last updated on: 2026-02-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | From 6.18 (inc) to 6.18.6 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free warning in the Linux kernel's btrfs filesystem code, specifically in the function btrfs_get_or_create_delayed_node(). The issue arises because the reference count (refcount) for a delayed_node was set before acquiring a lock, which led to a lack of a memory barrier between setting the refcount and assigning the delayed_node to a btrfs_inode. Without this memory barrier, the order of operations could be seen out of order by other threads, causing them to increment a refcount that was not yet set, resulting in a refcounting bug and a use-after-free warning. The fix involved moving the refcount setting inside the critical section protected by the lock to ensure proper memory ordering.
How can this vulnerability impact me? :
This vulnerability can lead to use-after-free conditions in the btrfs filesystem code, which may cause system instability, crashes, or potential memory corruption. Such issues can affect the reliability and security of systems using the affected Linux kernel versions with btrfs, potentially leading to data loss or denial of service.