CVE Catalog

CVE-2026-98090

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, in the btrfs filesystem, 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, so btrfs_show_devname() can dereference the freed latest_dev and crash.

Risk Assessment

A use-after-free may occur, leading to a kernel crash and system unavailability.

Recommendation

Update the Linux kernel to a version with the fix that restores the active device pointers to the latest seed device before removing and releasing the failed sprout device.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS