CVE Catalog

CVE-2026-90259

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, in the btrfs filesystem, the function qgroup_free_reserved_data() has an incorrect length calculation. Using round_up(start + len, sectorsize) gives the rounded end position instead of the length, leading to an oversized length and incorrect calculations. The fix introduces local variables aligned_start and aligned_len.

Risk Assessment

Incorrect calculations in qgroup management may lead to improper space allocation or data allocation errors.

Recommendation

Apply the Linux kernel fix to correct the length calculation in qgroup_free_reserved_data() in btrfs.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS