CVE-2026-98090

btrfs: restore active device pointers after failed sprout

Published Sep 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In the Linux kernel’s btrfs subsystem, the latest_dev pointer is not properly restored after a failed sprout operation. If chunk creation or the sprout setup fails, the new device is released while latest_dev still points to freed memory. A subsequent call to btrfs_show_devname dereferences this dangling pointer, causing a kernel crash that results in a denial‑of‑service condition.

Affected Systems

All Linux distributions that ship a kernel containing the btrfs filesystem and that use the sprouting feature on btrfs volumes are affected. The vulnerability is present in any kernel version prior to the patch referenced in the advisory; exact version numbers are not specified in the advisory. The Git references indicate that a kernel commit after the listed changes contains the fix.

Risk and Exploitability

The flaw is a classic use‑after‑free in kernel space that can cause a panic. The CVSS score of 5.5 indicates medium severity, and the EPSS score of <1% suggests a low probability of exploitation. The likely attack vector is local or requires kernel‑level privileges; this is inferred from the description that the attacker must drive the sprout process to fail, which typically requires local access to perform btrfs operations. An attacker could, for example, force a chunk creation or sprout setup to fail through malformed I/O or resource exhaustion, leading to a crash. The vulnerability is not listed in the KEV catalog and the low EPSS score underscores a low likelihood of widespread exploitation. Still, any crash results in denial of service for the affected node, so patching is a priority.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel release that contains the btrfs sprout pointer restoration patch.
  • Reboot the system after installing the patched kernel to ensure the kernel fully reinitializes.
  • Monitor system logs for btrfs device pointer errors or kernel panics; if crashes continue and immediate patching is not possible, temporarily disable btrfs sprouting features or remount the affected btrfs volume to reset device pointers.

Generated by OpenCVE AI on October 23, 2026 at 22:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Description 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.
Title btrfs: restore active device pointers after failed sprout
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:13 AM
Reserved
Sep 25, 2026, 10:19 AM
Status
Analyzed
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 23, 2026, 7:00 PM