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 E09FE3C1D7C for ; Fri, 28 Aug 2026 06:55:17 +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=1787900119; cv=none; b=r5Rwnkj5zo00wcQVWIT8Dlupve2IOZBstQw9btjfBouI17ZkGe+wAPL1Cc+wJjkY6VL77QsL+wNJMc5gmbl8nsleSuvCBdBjYWY43jhGOrRZG5poPJjpS6Ehr8qILIiDkm56DwzgToGZZdFVepmkAd4i83TxogvW+VD4iz5lo18= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900119; c=relaxed/simple; bh=UCzI5RBZIS/oalc36rXlG7RLYUNTnu7bPV+ID5BGRvE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M61f65KZ76Vy05Y5H5TDki9VvGMqD3hMXjS0rWMfGB0i7bYj6AmtwFiT2IQ6hX98xqv8chT5p8KHlc+K55tEP5Kfxyf2RelT5yAxMHQPBTiOESm0//4LlnFWcOHi6Ns1nNZZ4E0VmypljOswJM4LAw0tWvBcMazrKf7jc1N+Sjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s7jzRQxJ; 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="s7jzRQxJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E02D91F000E9; Fri, 28 Aug 2026 06:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900117; bh=PT/zhGnMWO2kmRcZPItGXUjwFql8FuRpzWvRbSsXCg8=; h=From:To:Cc:Subject:Date:Reply-To; b=s7jzRQxJWILGi6PAWRkwxqVf1qLxqUrfuYptBLZ9GWa5mAFeoS+enS9TwKG3GGHvj iDWr9o9ZRYh6+SBsOqQEMr08u4scyCVogdquvnE94x5XC4aEuczBNxw24pteX5yVxC yfvrpnf+DbDNG5Wd6MwQoqk0P+xrfqFdtSiMKNG8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80718: mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk() Date: Fri, 28 Aug 2026 08:53:41 +0200 Message-ID: <2026082810-CVE-2026-80718-aa90@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=3959; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zPAZAqv5Te18sA/SGqXyjqL6jAo+2nSHknz9n4H7Qcg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDcJKBL8/mGyw4kzR94fapaccmDY78Fr0TFj90GqTi rLtxwmWHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARh0MMCy4WPpwSavw3Zd+K l/6nVh9+7njTZj7DgpZJ8i3ZJ3PTVzG+FTU9sKj5l6dZKgA= 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/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk() In pcpu_create_chunk(), nr_pages is the total contiguous backing allocation, i.e., nr_units * pcpu_unit_pages, but pcpu_chunk_populated() uses it to set chunk->populated, whose size is pcpu_unit_pages, bitmap. Since bit N in chunk->populated means page offset N inside every unit is backed. When nr_units > 1, the function writes beyond chunk->populated. Fix it by using chunk->nr_pages. It also fixes the global pcpu_nr_empty_pop_pages accounting, since pcpu_balance_free() only iterates up to chunk->nr_pages. Commit a63d4ac4ab609 ("percpu: make percpu-km set chunk->populated bitmap properly") introduced the bitmap overflow issue. Later, commit b539b87fed37f ("percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated") added pcpu_nr_empty_pop_pages and caused the accounting issue. The Linux kernel CVE team has assigned CVE-2026-80718 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 5.10.265 with commit 5f43d2c1bea280dcdfabaf156c25e7402fb8039f Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 5.15.216 with commit 92c43ac3c2b09eb16162e8144e73c00b7c3e29d6 Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 6.1.183 with commit 6fc7da2a052f2825fff785e860e67183f5acaaba Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 6.6.151 with commit 01504da375f5b19df195cb1cb1cf1dd184318f97 Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 6.12.103 with commit a6940b84c8c035da465b7165fdfcfb005545724e Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 6.18.44 with commit 32134cf9211b83bed9076d0739c5906fbea4c763 Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 7.1.8 with commit 5c7fc39bf19abb38a996aaad77b3e3a8f48581c3 Issue introduced in 3.18 with commit a63d4ac4ab6094c051a5a240260d16117a7a2f86 and fixed in 7.2 with commit 89b1b79c308818a715e75f28744b70d8940a07c9 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-80718 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/percpu-km.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/5f43d2c1bea280dcdfabaf156c25e7402fb8039f https://git.kernel.org/stable/c/92c43ac3c2b09eb16162e8144e73c00b7c3e29d6 https://git.kernel.org/stable/c/6fc7da2a052f2825fff785e860e67183f5acaaba https://git.kernel.org/stable/c/01504da375f5b19df195cb1cb1cf1dd184318f97 https://git.kernel.org/stable/c/a6940b84c8c035da465b7165fdfcfb005545724e https://git.kernel.org/stable/c/32134cf9211b83bed9076d0739c5906fbea4c763 https://git.kernel.org/stable/c/5c7fc39bf19abb38a996aaad77b3e3a8f48581c3 https://git.kernel.org/stable/c/89b1b79c308818a715e75f28744b70d8940a07c9