From mboxrd@z Thu Jan 1 00:00:00 1970 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 66FF358124E for ; Fri, 11 Sep 2026 19:58:15 +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=1789156702; cv=none; b=hBQu3A0GvN5cKeSAlgaolvVw5oLxDpzlkjXisY5laZ2B/B2L5zeCQE/0cOK8R05gDnd2VRjtRmVBCI/JMigMqez1vqNj+jV3lW1Tcok7bWXHgkluHZqyg9m38jVXOnFEagcek0C5Sw7n5B1lwRQ69XhyyJQXuczKbvFu5Joof0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156702; c=relaxed/simple; bh=TGQF1yzmT7pGurhXm1x4EZZgxl7NIFnMoGAAEBurgx0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E2KHDfFQ6HFoZ6ooG+93EbC1x2uiUlIeTs5Qz2MxjDToHHHa8+g7NqNGXAc+X3uFgX2ON7yTH0tQZcUb6HM+r2Ic18FYIsnD1JB4TSCcxfpptZ3PXgMZJPLM+MYtwwBBEP6VfHS2LNLluoefv3M7OySdh7ICITWVZUwktGqVyJc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MxdRVKjW; 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="MxdRVKjW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 511CB1F000FF; Fri, 11 Sep 2026 19:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156690; bh=I2CZQ+40cbWG0esIHFkmdsLTwkkaNnbhW+H769zehbc=; h=From:To:Cc:Subject:Date:Reply-To; b=MxdRVKjW3/dvMhU/LihN0U4UM0YwWDlTDcP2Cyp6SKv9I8JP1yh4+Oa570dYnbGH0 dvvoTICk40BAcr3uQkemqef4Xzww4tDcgw1IuvTQw78oUrn5hpxSJCasAe0GtNaEf7 lZfv/QcYhbIbWHkaYpSbE76RDLKrHqvUDoUKgBC0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89602: erofs: skip sufficiently large global buffers when resizing Date: Fri, 11 Sep 2026 21:44:51 +0200 Message-ID: <2026091133-CVE-2026-89602-2b0d@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=2657; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hXQbS3Yz+ek8GK4f1Qc3eLFRzgp64brVPJH3umzvDGk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLInMPcO76++rbTceFqusDfzc8ENn6S2arr9vvj49mR i6eJFnk0hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATeTiHYZ6ZQhzLpGlCV568 OPrugZWC68mHSmcYFmyYoeN1jPXMjD+uBcoTU2e6Mljq8wMA 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: erofs: skip sufficiently large global buffers when resizing z_erofs_gbuf_nrpages is advanced only after every global buffer has been grown. If a resize fails after some buffers were enlarged, a retry revisits those enlarged buffers. Retrying the same size then returns -ENOMEM because alloc_pages_bulk() has no pages to add and the unchanged return value is treated as a failure. Retrying an intermediate size allocates a temporary pointer array smaller than gbuf->nrpages and copies more existing pointers than the array can hold. Skip buffers that already satisfy the request. Once all remaining buffers have caught up, advancing z_erofs_gbuf_nrpages again describes the guaranteed minimum size across the pool. The Linux kernel CVE team has assigned CVE-2026-89602 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit d6db47e571dcaecaeaafa8840d00ae849ae3907b and fixed in 6.18.51 with commit 7267557ce98ccd07faaf3bc86382448950cc4ff6 Issue introduced in 6.10 with commit d6db47e571dcaecaeaafa8840d00ae849ae3907b and fixed in 7.2.4 with commit 7f4a89d4f0d6acaf4b756c31de48f2109a257b70 Issue introduced in 6.10 with commit d6db47e571dcaecaeaafa8840d00ae849ae3907b and fixed in 7.3-rc1 with commit a7d097cf01301c5da37927c8f26123d006f0fd8a 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-89602 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/erofs/zutil.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/7267557ce98ccd07faaf3bc86382448950cc4ff6 https://git.kernel.org/stable/c/7f4a89d4f0d6acaf4b756c31de48f2109a257b70 https://git.kernel.org/stable/c/a7d097cf01301c5da37927c8f26123d006f0fd8a