Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 628B84E4C54 for ; Thu, 17 Sep 2026 16:22:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662152; cv=none; b=UPFxX8nW47/pxEzMZ+h8seSB5fITlr6ramy7gLc6LnCal/ObIbbgSMAVRhF5w6wwz6ArLun5HkxfEDYm8MEfVK7rawzX1NYcQbDIiFAlPR/DbaeRC8sd/lzRU1rW7+EDfFW+Eo9m8xmvEFyVuMBHAQ1jBxb3SSin9MC3CsbGJB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662152; c=relaxed/simple; bh=mzvt56XQqmy+WnnlplYFtwFez0Z8muVNjg7fikM3VuM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CxWSyTqkaPYCgDwkWwftQ24h9OMQu6rB9hsYUr9YXfgt439ahE8o0cquQez5neCgEBtAvObZ8ZdFtAcuP0z+wJS4guKRVrAnE90z0GDN0191HtIj1HW3cEAlWWEy9IzyiW/ZTkTwK7vnTlA5ahQ5J9aLymuMmCZI0nWd7uZSriA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cA7Mh9aD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cA7Mh9aD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFEA01F000FF; Thu, 17 Sep 2026 16:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662151; bh=UNr5vOMr2Po0EPkR4WH1ZQFtjJXtODiyy9MbrMeD8cg=; h=From:To:Cc:Subject:Date:Reply-To; b=cA7Mh9aD2zkyCEq7tpDgsvfktxv9EGzbKwxyC3rWEFC+dVtiavqCIJtbgJmUW1ObF mJv6VChi/P6pdkOlKDnQiJ/GSJ0rcbOVlt8IhJrimgXt4i00IeJB/txFULqnZeukoF 4WfkqCovCpyIuKo+wPH+D6KnGSAxzeAbiEAGluSw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90259: btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data() Date: Thu, 17 Sep 2026 17:11:29 +0100 Message-ID: <2026091746-CVE-2026-90259-18c4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2444; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PU164B70j5+K7WZ2sJ0rQdLsmPWRxiUaPTn1SDoNyDE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBPriGnc135vO9nzy4du//iZOZPa8my06pdryqNtkX sYeFW+DjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIGk+GBXvv/57kd9k3/5dA 7n42z+/zmU2f5DMsmHCLx+Pl0a9lTpPjp3Z2Mum9uj11FQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-90259 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 and fixed in 6.18.52 with commit e6edde29990af8064b9d12217ec03db231ccd55d Issue introduced in 4.13 with commit bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 and fixed in 7.2.6 with commit c4c136555ff90f1e2921cc42da43daac0ef9985e Issue introduced in 4.13 with commit bc42bda22345efdb5d8b578d1b4df2c6eaa85c58 and fixed in 7.3-rc1 with commit 9102b179512e11644fb0489ae62010a09afa199c Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90259 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/btrfs/qgroup.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c