Bug 2536356 (CVE-2026-90259) - CVE-2026-90259 kernel: btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()
Summary: CVE-2026-90259 kernel: btrfs: qgroup: fix a wrong length calculation in qgrou...
Keywords:
Status: NEW
Alias: CVE-2026-90259
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 17:33 UTC by OSIDB Bzimport
Modified: 2026-10-13 13:37 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 17:33:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.