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

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

btrfs: restore active device pointers after failed sprout

btrfsinitnewdevice() switches latestdev and possibly sbdev 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. btrfsshowdevname() can then dereference the freed latestdev and crash.

Restore the active device pointers to the latest seed device before removing and releasing the failed sprout device.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:24 AM
Data Sourced
via MITRE·10:24 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the crash?

A Btrfs sprout operation must fail after btrfs_init_new_device() has switched the active device pointers to the new device, such as during first writable chunk creation or subsequent sprout setup. A later call to btrfs_show_devname() can then dereference the released device pointer and crash.

2

What is the impact of a failed sprout operation on an affected kernel?

The failed sprout device can be released while latest_dev, and potentially s_bdev, still point to it. Subsequent device-name reporting through btrfs_show_devname() may dereference freed memory and crash the kernel.

3

What does the fix change?

The fix restores the active device pointers to the latest seed device before the failed sprout device is removed and released. This prevents btrfs_show_devname() from using the freed sprout-device pointer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203