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 D95A73D25CC for ; Fri, 28 Aug 2026 06:50:48 +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=1787899850; cv=none; b=f7qQD2WIozDXaII0pFz+aZidtKPbwI2uMgIGMFPqUQs8j8xt2u4/hCIK29IFCy9Jct217Mt+ed9bOXgq1Iuklg0QIbBWchmyJy/JNt4Uu2WnIR0XN5rYTzpvZQouC9BkIyNm13fBO5j1hC51BmDA+3nhkaGEgtzZcu5xVMFS87I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899850; c=relaxed/simple; bh=ql614Y/ChPOgvI5+7KUB5dLK+xayW06+xVq4ghANyYw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CgXNad5nAbdLj5HG8n3PwxVGXkMRleL8Bcz4lh6QHld23HhyBlg6fYV8cwWxM0xxLYdM02haqIhRXSn+47SaA3+WJiRUQzAFlkF8ugXMPiEm146EU1iENhlA7BzzoKOBAZ2ndQqsZtJGdR3J/vKF+2z255WOQN+9Du1aBvTGTQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TXK5HWlK; 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="TXK5HWlK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1D731F000E9; Fri, 28 Aug 2026 06:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899848; bh=k2y2VJGh9njg4tD89Nr29ohLhBHOVv6L8I0L6hhsDys=; h=From:To:Cc:Subject:Date:Reply-To; b=TXK5HWlKy/bsGkDo0R1m5j1ZwhiPjDTKmJaKfOFSWYeRAP44SIHPUL2jTJra8ftM7 kfFznNpwB2WvE1SwHSus8k9hkZj1oM5aShdhHJxCRc+ehq9TEezYBx4gLzvG1rxcxQ N4RUhK1I/voJhP0edmyydIx1Mu9mugouG31aPqco= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80638: ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent Date: Fri, 28 Aug 2026 08:49:15 +0200 Message-ID: <2026082840-CVE-2026-80638-fbf1@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=2488; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/CMOpy9cVStTgluc92wRzPsP9igScXsHvnc3J3/Us3Q=; b=kA0DAAIRMUfUDdst+ykByyZiAGqRL0jI4Q6koN735uNlHyodZQoFygk3UTAkZwaGNisL7ZBAu IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmqRL0gACgkQMUfUDdst+ylauACgtbqB MQEPnZRrFgYgGjC/wj4VNooAmQHVbm3ike0xOtjEZs1lS/j0ZYV/ 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: ocfs2: fix out-of-bounds write in ocfs2_remove_refcount_extent [BUG] Unlinking a refcounted file whose refcount tree has leaf blocks triggers a fortify panic due to an out-of-bounds write. [CAUSE] When the last leaf block is removed from a refcount tree, ocfs2_remove_refcount_extent() converts the root back to leaf mode with a bulk memset on &rb->rf_records. rf_records sits in an anonymous union with rf_list. rf_list.l_tree_depth aliases rf_records.rl_count, and is 0 for a single-level tree. With rl_count equal to 0, the memset writes past the 16-byte declared size of rf_records, which the fortify checker catches. [FIX] Replace the bulk memset on &rb->rf_records with a correctly-bounded memset on rl_recs[] alone, after setting rl_count to the correct value. The Linux kernel CVE team has assigned CVE-2026-80638 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 2f26f58df041bbcf692730ff4d8ab0f250d9670d and fixed in 7.1.5 with commit f5255516ec7add3a6d5d37853ad5a9a9ddb14305 Issue introduced in 6.19 with commit 2f26f58df041bbcf692730ff4d8ab0f250d9670d and fixed in 7.2 with commit 1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44 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-80638 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/ocfs2/refcounttree.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/f5255516ec7add3a6d5d37853ad5a9a9ddb14305 https://git.kernel.org/stable/c/1ec3cca2d8b6b9ff6584ca626d4c8918bbf48d44