CVEvulnerability
CVE-2026-90259
- Status
- Received
- Published
- 2026-09-17
- Last modified
- 2026-10-30
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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 git.kernel.org
- https://git.kernel.org/stable/c/202ac9e469b78817512921c5db05cc2140e4ca43 git.kernel.org
- https://git.kernel.org/stable/c/34adc843c28e5cd1f533a1d64f51b0f756fdf945 git.kernel.org
- https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c git.kernel.org
- https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e git.kernel.org
- https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d git.kernel.org