CVE-2026-90259

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

Published Sep 17, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A calculation error in the Btrfs subsystem’s qgroup_free_reserved_data function incorrectly rounds up the end position, which results in an overestimation of the length used later in the code. This miscalculation can corrupt kernel memory, potentially allowing an attacker to execute arbitrary code or trigger a denial‑of‑service by crashing the system.

Affected Systems

The vulnerability affects the Linux kernel’s Btrfs implementation, specifically the qgroup module. No specific kernel release numbers are listed in the advisory; however, the fix is included in the referenced commit series and should be present in later kernel releases.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog, suggesting a low current exploitation probability. Nevertheless, kernel memory corruption is a highly severe issue; an attacker would typically need local access or a method to trigger the vulnerable path. No public exploits have been reported at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the qgroup_free_reserved_data fix (e.g., a kernel incorporating the referenced commits).
  • If an immediate kernel upgrade is not possible, backport the relevant commit to your current kernel tree.
  • If you are using a distribution that packages the kernel, check with the vendor for a recommended update or patch release that includes the fix.

Generated by OpenCVE AI on September 19, 2026 at 04:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-122
CWE-190
Type Values Removed Values Added
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.
Title btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:34 PM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 17, 2026, 5:17 PM
Modified
Oct 30, 2026, 1:20 PM