# CVE-2026-90259: btrfs: qgroup: fix a wrong length calculation in qgroup\_free\_reserved\_data()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:07:57.416Z
- **Modified:** 2026-10-30T13:20:47.930Z

## Who should check

- Anyone running Linux \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 036e6c216be66a085da3a0519f1be5f3230b6e26; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 202ac9e469b78817512921c5db05cc2140e4ca43; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 34adc843c28e5cd1f533a1d64f51b0f756fdf945; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< e6edde29990af8064b9d12217ec03db231ccd55d; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< c4c136555ff90f1e2921cc42da43daac0ef9985e; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 9102b179512e11644fb0489ae62010a09afa199c
- Anyone running Linux 4.13

## Description

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

btrfs: qgroup: fix a wrong length calculation in qgroup\_free\_reserved\_data()

In that function, we round down the start position and round up the
ending position.

But during the calculation of @len, we use "round\_up(start + len,
sectorsize)", which is the rounded up end position, not the rounded up
length.

Which results a much larger length, and later we are still using
"start + len", which is completely incorrect.

Fix it by declaring a local @aligned\_start and @aligned\_len and use them
instead.

## Affected and fixed versions

- Linux: \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 036e6c216be66a085da3a0519f1be5f3230b6e26; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 202ac9e469b78817512921c5db05cc2140e4ca43; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 34adc843c28e5cd1f533a1d64f51b0f756fdf945; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< e6edde29990af8064b9d12217ec03db231ccd55d; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< c4c136555ff90f1e2921cc42da43daac0ef9985e; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 9102b179512e11644fb0489ae62010a09afa199c (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- Upgrade Linux to 9102b179512e11644fb0489ae62010a09afa199c 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-90259. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90259.md
Affected: Linux >= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, < 036e6c216be66a085da3a0519f1be5f3230b6e26; >= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, < 202ac9e469b78817512921c5db05cc2140e4ca43; >= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, < 34adc843c28e5cd1f533a1d64f51b0f756fdf945; >= bc42bda22345efdb5d8b578…
Fixed in: Linux 036e6c216be66a085da3a0519f1be5f3230b6e26, Linux 202ac9e469b78817512921c5db05cc2140e4ca43, Linux 34adc843c28e5cd1f533a1d64f51b0f756fdf945, Linux 9102b179512e11644fb0489ae62010a09afa199c

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-90259 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 036e6c216be66a085da3a0519f1be5f3230b6e26; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 202ac9e469b78817512921c5db05cc2140e4ca43; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 34adc843c28e5cd1f533a1d64f51b0f756fdf945; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< e6edde29990af8064b9d12217ec03db231ccd55d; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< c4c136555ff90f1e2921cc42da43daac0ef9985e; \>= bc42bda22345efdb5d8b578d1b4df2c6eaa85c58, \< 9102b179512e11644fb0489ae62010a09afa199c; Linux 4.13.

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

Yes. Fixed in Linux 036e6c216be66a085da3a0519f1be5f3230b6e26, Linux 202ac9e469b78817512921c5db05cc2140e4ca43, Linux 34adc843c28e5cd1f533a1d64f51b0f756fdf945, Linux 9102b179512e11644fb0489ae62010a09afa199c. Upgrade Linux to 9102b179512e11644fb0489ae62010a09afa199c or later.

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

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

- other: <https://git.kernel.org/stable/c/036e6c216be66a085da3a0519f1be5f3230b6e26>
- other: <https://git.kernel.org/stable/c/202ac9e469b78817512921c5db05cc2140e4ca43>
- other: <https://git.kernel.org/stable/c/34adc843c28e5cd1f533a1d64f51b0f756fdf945>
- other: <https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d>
- other: <https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e>
- other: <https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c>

## 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-90259>

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