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 834954FC8EF for ; Wed, 16 Sep 2026 10:41:11 +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=1789555288; cv=none; b=XD033JBpJbf3We3RykelDqXlgI/T4rYh5X1wCsNDorg2NEd/4sdRdnetg1tykx0ENVsgtMfD25pU1h+UrTCDp8FCUbhOP3RBgdRs5UyQoT8WPrKHRrXafWkTeabVekVe5KQ3Cz9y/kPuf/8JbppW6xZXmfm0MQRbROq6zSlRUj4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555288; c=relaxed/simple; bh=5Qvce6cfFkoJUyTLjYETFh9Yyo2+PMOF8pp/UP3vIQ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VbwdneKg/E5slbIO9UJilV1R9htnLwXN3HtZpYSioBYCW8b2k4CEgib7gKsBRxgpjZjJgJc3cecI35nCIF6Pvl3AiYFHMZB3aoFm/TuIzNGrZv3kKL5F+5roKnwwpD4ky51H/qecOr+Bap2AU4JmHr/8jZovXfWJmjMyIMm63t8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K8Ekdtc0; 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="K8Ekdtc0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 446531F00898; Wed, 16 Sep 2026 10:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555271; bh=3qnGHodmEonR1PZTWCDNa+tfrvGF0Mysj1kkmRrLlbI=; h=From:To:Cc:Subject:Date:Reply-To; b=K8Ekdtc0O7PbZhwMNNn41CwDpFfW/1oUEo7npwWIgTjrAEg3tgfvSvXF+sDd58Zvu rszm3NvgmqVzDYvxOLRAyWVbxZKORXMhQy1k4lj1RncrVwQf+uTJuooxu1sF/sKwvy +OwChixt8+lkFnt+lrXyznnZ595nJ2d9tmjcN6pI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89961: powerpc/mm: fix wrong addr_pfn tracking in compound vmemmap population Date: Wed, 16 Sep 2026 11:31:31 +0100 Message-ID: <2026091651-CVE-2026-89961-bea0@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=3419; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n4V/q9kNTMQm87rNMvLcjQmZuz29OzFil+GuBCDtCjw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8udba1xpZm2LyBOc6pzJXuR3JPDEry+XL11t+vjk8 7RA+fVJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARU2mGBRuvLDnP7mjPLb9b +9tP0wWGATPa0xnmKU08ayHDuGqB9adjiWtvfUz8VbTqPgA= 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: powerpc/mm: fix wrong addr_pfn tracking in compound vmemmap population vmemmap_populate_compound_pages() uses addr_pfn to determine the PFN offset within a compound page and to decide whether the current vmemmap slot should be populated as a head page mapping or should reuse a tail page mapping. However, addr_pfn is advanced manually in parallel with addr. The loop itself progresses in vmemmap address space, so each PAGE_SIZE step in addr covers PAGE_SIZE / sizeof(struct page) struct page slots. Since addr_pfn is compared against nr_pages in data-PFN units, it should advance by the same number of PFNs. The existing manual increments do not match that and therefore do not reliably track the PFN corresponding to the current addr. As a result, pfn_offset can be computed from the wrong PFN and the code can make the head/tail decision for the wrong compound-page position. Fix this by deriving addr_pfn directly from the current vmemmap address instead of carrying it as loop state. The Linux kernel CVE team has assigned CVE-2026-89961 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit f2b79c0d79683d552369bb9a7282c1f0226fc566 and fixed in 6.6.157 with commit b96be860673f9fbbf12cdadb0b25fc4d6d4d207f Issue introduced in 6.6 with commit f2b79c0d79683d552369bb9a7282c1f0226fc566 and fixed in 6.12.110 with commit e163c7184acf36ac20a248498f4a16016057ca01 Issue introduced in 6.6 with commit f2b79c0d79683d552369bb9a7282c1f0226fc566 and fixed in 6.18.51 with commit 9c914b7a0bd18834505c65f22225ce22c152b2d9 Issue introduced in 6.6 with commit f2b79c0d79683d552369bb9a7282c1f0226fc566 and fixed in 7.2.5 with commit 7968852a7ca3ce81477ec5b4494a28d612f35a97 Issue introduced in 6.6 with commit f2b79c0d79683d552369bb9a7282c1f0226fc566 and fixed in 7.3-rc1 with commit 89a4ae32764172468dea303eb6ae90fe6c859712 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-89961 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: arch/powerpc/mm/book3s64/radix_pgtable.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/b96be860673f9fbbf12cdadb0b25fc4d6d4d207f https://git.kernel.org/stable/c/e163c7184acf36ac20a248498f4a16016057ca01 https://git.kernel.org/stable/c/9c914b7a0bd18834505c65f22225ce22c152b2d9 https://git.kernel.org/stable/c/7968852a7ca3ce81477ec5b4494a28d612f35a97 https://git.kernel.org/stable/c/89a4ae32764172468dea303eb6ae90fe6c859712