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 4D4294FECE0 for ; Wed, 16 Sep 2026 10:43:29 +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=1789555426; cv=none; b=udJfMJuDCQRqd4P3W+TPnDU+OwWSxklQdmZnRh+jNA0gUxN03VHKO5XoDw7tjVecCcaf5hopvkHiHUsp2SrqkXexeocAF3TCu7uA2kSW9p3fhuOHyRJfVkYADZG68rfqViBcJvkwL3RBRD1Kq/xhuQ2i2SgqCxdy+nyC4uo9pBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555426; c=relaxed/simple; bh=MVN/Tfav760wMhr9rY0E2BxOWdqihO8zr7Ciy5HqfGs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Stys5vSc8VQi6ra3TndH6SGlN7iBn5UHHYAeNSnI+DyWDO9jJzYmpKwMqB/DbGp2+0NnklTCLl67wCS8BzHg1UG9bJFxSMRcTmUQkWtAvXM2ClEYkxWwtA+8OaEcWN2zf1uLAgy/Qm96t8Qy4TU0410XDdgCxdN9uyTAE7fFK24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sSSFSqD1; 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="sSSFSqD1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 780561F00893; Wed, 16 Sep 2026 10:43:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555404; bh=WXvjDWnqcpv+VQmh74giZUbvsYQv5OJjkE9GuOedSbE=; h=From:To:Cc:Subject:Date:Reply-To; b=sSSFSqD1RiugPFZboNSgr8Nz9gU1JcPAQxWV/tIOZ4A9NDiRnLCUql94MN1CeN6C1 0daP63CBhwa93IneMvCfQj04wPd7wkVtDxfyhu5mKvtv3Gi/qd35Uy0WXeP2itY1N7 sYdCy8esheylVayYPikbl/PzZ8d9YYOedPfD/q3k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90004: mm/damon/core: handle region split failure in apply_min_nr_regions() Date: Wed, 16 Sep 2026 11:32:14 +0100 Message-ID: <2026091600-CVE-2026-90004-a9a8@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=3001; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RggX6bGwb7S3gbPviocRwnST/D7wd/k/lJCmI/w/cWE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8leIfeneYvVgzV+j7p3n/v+do3pPakmpu8L0RT/VN UtVTO8d74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJZD5lWDDjlonXeZ5+P98N ezNf26+pWegnP5NhwTQuf4NS982OV+5MqJ1gcs10j9nzxwA= 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: mm/damon/core: handle region split failure in apply_min_nr_regions() damon_apply_min_nr_regions() repeatedly split each region until its size becomes small enough to meet the user-defined low limit of the number of regions. The loop assumes the split operation (damon_split_region_at()) will always succeed and create the new region. But the operation could silently fail for memory allocation failures, for example. If such failure happens and the region was the last region, the linked list-based next region fetching returns invalid pointer. As a result, invalid memory dereference and corruption could happen. Even if the corner case is handled, it imposes stress to the allocator by trying split regions for other targets. Fix the issue by breaking all the loops for any region split failure. This means there could be a min_nr_regions violation. It will only rarely happen since the allocation is arguably too small to fail. Even if it happens, it is only temporal. damon_apply_min_nr_regions() will be called again after the aggregation interval. The user impact of the issue should be minor, since the allocation is arguably too small to fail. But, it could still theoretically happen, and the consequence is very bad. This issue was discovered [1] by Sashiko. The Linux kernel CVE team has assigned CVE-2026-90004 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit b1029f29eb1d5fbf07fa8db9b5e7ab6d9813ad67 and fixed in 7.2.5 with commit 463ebd63e8ee3d73022a18915ea43320dad8aad7 Issue introduced in 7.1 with commit b1029f29eb1d5fbf07fa8db9b5e7ab6d9813ad67 and fixed in 7.3-rc1 with commit c608748607620f331196ed0ba9fe4017892c1457 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-90004 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: mm/damon/core.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/463ebd63e8ee3d73022a18915ea43320dad8aad7 https://git.kernel.org/stable/c/c608748607620f331196ed0ba9fe4017892c1457