btrfs: restore active device pointers after failed sprout
Summary
| CVE | CVE-2026-98090 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-25 11:17:38 UTC |
| Updated | 2026-09-30 14:10:59 UTC |
| 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. |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.054000000 (date 2026-09-27)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected b7cb29e666fe79dda5dbe5f57fb7c92413bf161c 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7 git | Not specified |
| CNA | Linux | Linux | affected b7cb29e666fe79dda5dbe5f57fb7c92413bf161c e127ac29a52134d0f4cba39d38e4b375deb3d1aa git | Not specified |
| CNA | Linux | Linux | affected b7cb29e666fe79dda5dbe5f57fb7c92413bf161c b79b4b29003690acfade8241998fc0104ef9c84c git | Not specified |
| CNA | Linux | Linux | affected b7cb29e666fe79dda5dbe5f57fb7c92413bf161c e0b54613aabeb8e9da597f23b90c6a03d0981986 git | Not specified |
| CNA | Linux | Linux | affected a6e7e218a4d6488d56727a7d9aee1b7e78c0c485 git | Not specified |
| CNA | Linux | Linux | affected 5.15.11 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 5.16 | Not specified |
| CNA | Linux | Linux | unaffected 5.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.111 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.53 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.7 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/e127ac29a52134d0f4cba39d38e4b375deb3d1aa | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e0b54613aabeb8e9da597f23b90c6a03d0981986 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b79b4b29003690acfade8241998fc0104ef9c84c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.