← CVE Intelligence

CVE-2026-90259

btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 before 202ac9e469b78817512921c5db05cc2140e4ca43; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 before 34adc843c28e5cd1f533a1d64f51b0f756fdf945; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 before e6edde29990af8064b9d12217ec03db231ccd55d; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 before c4c136555ff90f1e2921cc42da43daac0ef9985e; affected bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 before 9102b179512e11644fb0489ae62010a09afa199c
Linux / Linuxaffected 4.13; unaffected 0 before 4.13; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References