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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-09-25T10:24:23.474Z
- **Modified:** 2026-10-23T19:00:22.020Z

## Who should check

- Anyone running Linux \>= a6e7e218a4d6488d56727a7d9aee1b7e78c0c485, \< 46863a9f93186e620c70584f91c8d5d95da83eff; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 49179f13c04735c55fd0f43b03696c015b067137; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 0a0ee38ad6324ac1603079bb785f784191576bd5; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e127ac29a52134d0f4cba39d38e4b375deb3d1aa; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< b79b4b29003690acfade8241998fc0104ef9c84c; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e0b54613aabeb8e9da597f23b90c6a03d0981986; \>= 5.15.11, \< 5.15.222
- Anyone running Linux 5.16

## 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 and fixed versions

- Linux: \>= a6e7e218a4d6488d56727a7d9aee1b7e78c0c485, \< 46863a9f93186e620c70584f91c8d5d95da83eff; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 49179f13c04735c55fd0f43b03696c015b067137; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 0a0ee38ad6324ac1603079bb785f784191576bd5; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e127ac29a52134d0f4cba39d38e4b375deb3d1aa; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< b79b4b29003690acfade8241998fc0104ef9c84c; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e0b54613aabeb8e9da597f23b90c6a03d0981986; \>= 5.15.11, \< 5.15.222 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 5.15.222 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98090. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98090.md
Affected: Linux >= a6e7e218a4d6488d56727a7d9aee1b7e78c0c485, < 46863a9f93186e620c70584f91c8d5d95da83eff; >= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, < 49179f13c04735c55fd0f43b03696c015b067137; >= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, < 0a0ee38ad6324ac1603079bb785f784191576bd5; >= b7cb29e666fe79dda5dbe5f…
Fixed in: Linux 46863a9f93186e620c70584f91c8d5d95da83eff, Linux 49179f13c04735c55fd0f43b03696c015b067137, Linux 0a0ee38ad6324ac1603079bb785f784191576bd5, Linux 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7, Linux 5.15.222

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98090 being exploited?

There is no confirmed exploitation: CVE-2026-98090 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98090?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98090?

Linux \>= a6e7e218a4d6488d56727a7d9aee1b7e78c0c485, \< 46863a9f93186e620c70584f91c8d5d95da83eff; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 49179f13c04735c55fd0f43b03696c015b067137; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 0a0ee38ad6324ac1603079bb785f784191576bd5; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e127ac29a52134d0f4cba39d38e4b375deb3d1aa; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< b79b4b29003690acfade8241998fc0104ef9c84c; \>= b7cb29e666fe79dda5dbe5f57fb7c92413bf161c, \< e0b54613aabeb8e9da597f23b90c6a03d0981986; \>= 5.15.11, \< 5.15.222; Linux 5.16.

### Is there a fix for CVE-2026-98090?

Yes. Fixed in Linux 46863a9f93186e620c70584f91c8d5d95da83eff, Linux 49179f13c04735c55fd0f43b03696c015b067137, Linux 0a0ee38ad6324ac1603079bb785f784191576bd5, Linux 2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7, Linux 5.15.222. Upgrade Linux to 5.15.222 or later.

### How do I check if I'm affected by CVE-2026-98090?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/46863a9f93186e620c70584f91c8d5d95da83eff>
- patch: <https://git.kernel.org/stable/c/49179f13c04735c55fd0f43b03696c015b067137>
- patch: <https://git.kernel.org/stable/c/0a0ee38ad6324ac1603079bb785f784191576bd5>
- patch: <https://git.kernel.org/stable/c/2ee5c4bc11007c51f63f0c1be5d3f07f2b404ff7>
- patch: <https://git.kernel.org/stable/c/e127ac29a52134d0f4cba39d38e4b375deb3d1aa>
- patch: <https://git.kernel.org/stable/c/b79b4b29003690acfade8241998fc0104ef9c84c>
- patch: <https://git.kernel.org/stable/c/e0b54613aabeb8e9da597f23b90c6a03d0981986>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98090>

HTML: <https://flawdb.com/CVE-2026-98090> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98090>
