btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/036e6c216be66a085da3a0519f1be5f3230b6e26
- https://git.kernel.org/stable/c/202ac9e469b78817512921c5db05cc2140e4ca43
- https://git.kernel.org/stable/c/34adc843c28e5cd1f533a1d64f51b0f756fdf945
- https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d
- https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e
- https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c
European references
- ENISA EUVD · EUVD-2026-81852
- GCVE · GCVE-0-2026-90259
CERT-FR advisories
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < 036e6c216be66a085da3a0519f1be5f3230b6e26 ; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < 202ac9e469b78817512921c5db05cc2140e4ca43 ; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < 34adc843c28e5cd1f533a1d64f51b0f756fdf945 ; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < e6edde29990af8064b9d12217ec03db231ccd55d ; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < c4c136555ff90f1e2921cc42da43daac0ef9985e ; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 < 9102b179512e11644fb0489ae62010a09afa199c |
| Linux · Linux | affected 4.13 ; unaffected 0 < 4.13 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |