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 D5F2238A728 for ; Sat, 25 Jul 2026 08:57:07 +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=1784969828; cv=none; b=cW+qOkJakTMF/cyoE4+lnWXO1SxZomYpOYZMQuwvkFfjJWP+GHQWJTZ1Wv3eajv9LOiPRC2GjHA0augtuiFsfF5urSHTVoCc5OS7L76CrXmrXcy6nW7CXRouhQQmxhMVa7NqlNYpt+CfipeOJwiZtnrUvv1+DRPdiUAjdhCdmdY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969828; c=relaxed/simple; bh=XJOXy5LT7RoOBEs8TgLTb1Z2zpBQ9CuiR03gmNt1LAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Bz3p36qwBrgptvSZB4yxt/sfBGh5JDkqYjJ+TPQY8tmj57Xa13jsAnQcsq+Okf4wA+Ja2hEG94K8a+pEpDMbQtaTGn5S2LQHZcbqiM02743peS0S1jBQf3+p1Fx//2Wr77FG3PHZjz5vcBo+yOTx7rR/jJy4aBK8I6dApMo21jo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TIm8lrW9; 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="TIm8lrW9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C5F01F00A3A; Sat, 25 Jul 2026 08:57:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969827; bh=9j7LIzv9yAy/E03euWwrm+uicxknLsJtP096AI3vf+k=; h=From:To:Cc:Subject:Date:Reply-To; b=TIm8lrW9+l4xxT7AQU/BkuQ/bAkwaArgZm3SfcsKfXaCitvktrp4hr9hvZvbPkdJk 7TmnZLbEkKHORA9kP6AYbC9kLMn3YUYRd2blfQiiGyxlr7UiRLbXF2B4LZZitpXmt8 XYKxPxZTSG45tzcbFNqdJhTTYXYn14NKmnGnk3sM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64357: xfs: fix exchmaps reservation limit check Date: Sat, 25 Jul 2026 10:49:34 +0200 Message-ID: <2026072519-CVE-2026-64357-8c69@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=2672; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=19ReN4HntT5SIccONWP0+u6CpEdYKxNjl4ZXUVWXMbs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFSFZ/es3vL55o/oJQ0aukXn0Zv4/jI7BvncXHonz6 1r7p2V2RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkezrDgt7rKz/dsPpVJ/G3 Metn/KWYT7Y5VxgW7NDqzp/8b9crdvuot/E1L81yROtsAA== 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: xfs: fix exchmaps reservation limit check xfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt overhead to a local resblks variable, but the final UINT_MAX check still tests req->resblks. That is the reservation value from before the overhead was added. The computed value is stored back in req->resblks and later passed to xfs_trans_alloc(), whose block reservation argument is unsigned int. Check the computed reservation so the existing limit applies to the value that will be used. The Linux kernel CVE team has assigned CVE-2026-64357 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 966ceafc7a437105ecfe1cadb3747b2965a260ca and fixed in 6.12.96 with commit c597c8580d50127fc1221b5a5b653a94d49e23e3 Issue introduced in 6.10 with commit 966ceafc7a437105ecfe1cadb3747b2965a260ca and fixed in 6.18.39 with commit a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112 Issue introduced in 6.10 with commit 966ceafc7a437105ecfe1cadb3747b2965a260ca and fixed in 7.1.4 with commit 4707344b0d36d1012c8a1716e20167cd3afdd5f1 Issue introduced in 6.10 with commit 966ceafc7a437105ecfe1cadb3747b2965a260ca and fixed in 7.2-rc1 with commit 0a5213bbff62b51c7d4999ac8c7e11ea57d00d45 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-64357 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/xfs/libxfs/xfs_exchmaps.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/c597c8580d50127fc1221b5a5b653a94d49e23e3 https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112 https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1 https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45