CVE-2026-98090

btrfs: restore active device pointers after failed sprout

MEDIUM
5.5
CVSS Score
Published: September 25, 2026 at 10:24 AM UTC
Updated: October 23, 2026 at 07:00 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.2225.16 ≤ v < 6.1.1896.13 ≤ v < 6.18.536.19 ≤ v < 7.2.76.2 ≤ v < 6.6.1586.7 ≤ v < 6.12.1115.15.115.167.3a6e7e218a4d6488d56727a7d9aee1b7e78c0c485b7cb29e666fe79dda5dbe5f57fb7c92413bf161c
Vendor states this is fixed in 0a0ee38ad6324ac1603079bb785f784191576bd5 (fixed)
Vendor states this is fixed in 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7 (fixed)
Vendor states this is fixed in 46863a9f93186e620c70584f91c8d5d95da83eff (fixed)
Vendor states this is fixed in 49179f13c04735c55fd0f43b03696c015b067137 (fixed)
Vendor states this is fixed in b79b4b29003690acfade8241998fc0104ef9c84c (fixed)
Vendor states this is fixed in e0b54613aabeb8e9da597f23b90c6a03d0981986 (fixed)
Vendor states this is fixed in e127ac29a52134d0f4cba39d38e4b375deb3d1aa (fixed)
Vendor states this is fixed in 5.15.222 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.189 (unaffected)
Vendor states this is fixed in 6.12.111 (unaffected)
Vendor states this is fixed in 6.18.53 (unaffected)
Vendor states this is fixed in 6.6.158 (unaffected)
Vendor states this is fixed in 7.2.7 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card