What’s Vulnerable › Vulnerabilities

CVE-2026-98090: btrfs: restore active device pointers after failed sprout

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.222, 6.1.189, 6.12.111, 6.18.53. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-98090 or the next vulnerability affects your stack