NetSight
medium5.5

CVE-2026-98090

In the Linux kernel, the following vulnerability has been resolved: btrfs: restore active device pointers after failed sprout btrfs_init_new_device() switches …

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 5.13 before 5.15.222
from 5.16 before 6.1.189
from 6.2 before 6.6.158
from 6.7 before 6.12.111
from 6.13 before 6.18.53
from 6.19 before 7.2.7

Weakness classification

References