Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local btrfs device-management access
-
DeliveryAdd new device to a btrfs seed filesystem
-
ExploitForce chunk creation or sprout setup to fail
-
ExecutionError path frees sprout without restoring active pointers
-
Persistbtrfs_show_devname dereferences freed latest_dev
-
ImpactKernel use-after-free crash (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a btrfs seed filesystem and a privileged, local attempt to add a new ('sprout') device via btrfs_init_new_device, during which the first writable-chunk creation or the subsequent sprout setup must FAIL - only on that specific error path are the latest_dev/s_bdev pointers left pointing at the freed sprout device, after which a read of btrfs_show_devname triggers the use-after-free crash. Limiting factors that reduce realistic risk: local access only (AV:L, no remote vector), the privileges needed to perform btrfs device management (the input states PR:L, though device-add typically needs administrative capability), the niche seed/sprout feature being in use, and the dependency on a failure condition rather than a reliably attacker-driven trigger. Impact is confined to availability (kernel DoS); there is no confidentiality or integrity effect. |
| Impact | This is a genuine but low-priority memory-safety defect, not a widespread exploitation threat. All signals agree on modest real-world risk: the CVSS 3.1 base score is 5.5 (MEDIUM) with a local attack vector (AV:L), low complexity (AC:L), and required privileges (PR:L), and the impact is confined to availability (C:N/I:N/A:H) - consistent with a CWE-416 use-after-free that crashes the kernel rather than leaking or corrupting data. EPSS reinforces this: 0.17% probability at the 5th percentile indicates exploitation is very unlikely to be seen broadly. There is no CISA KEV listing and no public exploit reference in the input, so this is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month' (routine patching), which is coherent with the other signals - none point to urgency. One point worth verifying: the input assigns PR:L, but triggering the vulnerable path requires performing a btrfs device-add on a seed filesystem, an operation that normally requires administrative capability; the honest privilege level may be higher than PR:L, which would further lower practical risk. No signals conflict here - CVSS, EPSS, absence of KEV/POC, and the 'this_month' label all converge on a low-urgency, patch-in-normal-cycle item. |
| Exploit ScenarioDerived | A local user with the ability to perform btrfs device management operations adds a new device (a 'sprout') to a btrfs seed filesystem, and the chunk-creation or sprout-setup step fails. Because the error path releases the new device without restoring the latest_dev/s_bdev pointers switched away from the seed device, a subsequent read of device information via btrfs_show_devname dereferences the freed structure and crashes the kernel. No public exploit code is referenced; local access and the specific failure condition are required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 23, 2026
Use-after-free in the Linux kernel's btrfs driver can crash the machine when a device is added to a seed filesystem and the operation fails partway through: btrfs_init_new_device() has already switched latest_dev and possibly s_bdev to the new sprout device, and the error path releases that device without restoring the pointers, so a later btrfs_show_devname() dereferences freed memory. The bug is local-only and requires privileges sufficient to manage btrfs devices plus a seed/sprout configuration, and it depends on writable-chunk creation or the subsequent sprout setup actually failing, so impact is confined to availability (kernel denial of service). No public exploit code or active exploitation has been reported, EPSS is 0.17% (5th percentile), and vendor fixes are available in multiple stable branches.
RemediationAI
Vendor-released patch: update to the stable kernel containing the fix for your branch - 6.12.111, 6.18.53, 7.2.7, or the 7.3-rc2 mainline snapshot - as identified by the referenced git.kernel.org commits (for example https://git.kernel.org/stable/c/2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7 and https://git.kernel.org/stable/c/e127ac29a52134d0f4cba39d38e4b375deb3d1aa); the patch restores the active device pointers to the latest seed device before the failed sprout device is removed and released, eliminating the dangling latest_dev reference. Because exploitation requires a privileged local caller to add a device to a seed filesystem and requires that operation to fail, a temporary workaround on kernels without the fix is to avoid btrfs device-add operations against seed/sprout filesystems, or to keep such filesystems unmounted on untrusted multi-user hosts; this removes the exposed code path but forfeits seed-device expansion capability, and restricting who can perform btrfs device management (CAP_SYS_ADMIN) reduces exposure only insofar as untrusted local users currently hold that capability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
btrfs supports seed devices, read-only filesystems that can be 'sprouted' into a writable filesystem by adding a new device. In btrfs_init_new_device() the kernel moves the active-device pointers (latest_dev, and conditionally s_bdev) from the seed device to the newly added sprout device before the first writable chunks are created. If chunk creation or the following sprout setup fails, the cleanup path frees the new device while those pointers still reference it, producing a classic CWE-416 use-after-free; btrfs_show_devname() subsequently walks latest_dev and crashes. The affected code path is the device-add error unwind in the btrfs volume management layer, meaning the flaw is reachable only through the ioctl-level device management interface on a btrfs filesystem that uses the seed/sprout feature. The trigger is not described beyond the requirement that the first writable-chunk creation or the sprout setup fail; no memory-corruption primitive beyond the dangling pointer read is described in the available sources.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
btrfs device-add on a seed filesystem requires administrative capability so PR:H; local vector (AV:L), availability-only kernel crash (A:H) with no C/I impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
btrfs: restore active device pointers after failed sprout
btrfs_init_new_device() switches latest_dev and possibly s_bdev from the seed device to the new sprout device before creating the first writable chunks.
If chunk creation or the subsequent sprout setup fails, the error path releases the new device without switching those pointers back. btrfs_show_devname() can then dereference the freed latest_dev and crash.
Restore the active device pointers to the latest seed device before removing and releasing the failed sprout device.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-86920
GHSA-j9r6-v9mw-fjh8
NVD
CVE.org
EPSS
Exploit-DB