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 012E84FC8FA for ; Wed, 16 Sep 2026 10:38:16 +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=1789555121; cv=none; b=ODkNZbbgmpBsqA16Y/8vkWStqscCmtk/op6zVAUx237WQVDL2okgXg3A2N4W91CB9FGCMiApHyoIvXlxSHCUXjqkimi5THAphGFER4KGSWgJ7Z6VjtiG7E0m4W88YLvyWx9a6aVE5kimMoqaH9PraH/MNzs6UqVhZxh2IDBFUxc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555121; c=relaxed/simple; bh=fDb+3bed8ODaCnulb6L4RcegeEY3xf0Myp8P1vLurSk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mYWOclIAvPlNIJXGDweVEdsC7z9Jvh1Uj9Df5zjLfGskVblHRjohuYDcMBZuhnFqtQadLoL/aW0HO1MxdNew/tsq2ix3racjoYzwSqGFWoIpYAGNLcpGcZw1BTudYs9TuinFp0OkECmbBdKEb1O0Lw7f2L+MeRApD2boGtx/99I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JVVOXbPD; 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="JVVOXbPD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE4D11F000FF; Wed, 16 Sep 2026 10:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555096; bh=9XdMubPYRmNelnvJM8MUJhdDnN2C+6JuMDR1y6TwVtM=; h=From:To:Cc:Subject:Date:Reply-To; b=JVVOXbPDBMCK+m+pVsRayM2WHx3ziPFazE7OdxnKd6XfsRd+6iFvzGWTJAtRCwxdp y0DFo8e5W+E2LK+cczFiRB6KMbaPYzPrM7/dQJCjG+Y2H7qD7K/gfHna9ffwc0t9he RQG43LpN9hv6wih843S5M7HzN2YOv9SdVDbz3IBM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89904: LoongArch: Fix acpi_package_ids[] array overflow Date: Wed, 16 Sep 2026 11:30:34 +0100 Message-ID: <2026091639-CVE-2026-89904-5264@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=2602; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qKSCQWJiKy+3t8cuSnJm02uRGa+GnqXy+Q3i9UxFo1s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8idbPvkjdPJC6bEbEimp2e6N9afLDCd/PSEZ4753M bPk6/mXOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiB78wzPeYnrneW3Pe3Pob caYq+/xafGZLODHMr6uzzDl3ZU/e77gtuzy2XTmWMffEQgA= 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: LoongArch: Fix acpi_package_ids[] array overflow With LoongArch virt machine, a typical setting is one core per socket, there will max 256 sockets (packages) on one VM. With PPTT acpi table, array acpi_package_ids[] will be overflowed. Here change the array size of acpi_package_ids[] with the max value of MAX_PACKAGES and KVM_MAX_VCPUS. The Linux kernel CVE team has assigned CVE-2026-89904 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.101 with commit f18992be262d6515c94bf4bf6ce7598135076771 and fixed in 6.12.110 with commit 0195e04b1eec8fb00e2db9c5e55655a3f5e76f60 Issue introduced in 6.18.42 with commit 4427a33faabb4b81511b99dfee18ce0a38b5b5df and fixed in 6.18.51 with commit d3fd094c13c6d0b74f246461ca4cf427d539c8e8 Issue introduced in 7.2 with commit 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 and fixed in 7.2.5 with commit 6311b8c471afa33c18adbe4eb16f862936b71ca3 Issue introduced in 7.2 with commit 4e8f58620f6717f72f3d88a2c8f25c0c656d0ba7 and fixed in 7.3-rc1 with commit 2a2367d46d7a4ee4122b7a86e57125542dbbe963 Issue introduced in 7.1.6 with commit 496bc868d9066e034787aa14b8ad6c23e77b51ef 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-89904 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/loongarch/kernel/acpi.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/0195e04b1eec8fb00e2db9c5e55655a3f5e76f60 https://git.kernel.org/stable/c/d3fd094c13c6d0b74f246461ca4cf427d539c8e8 https://git.kernel.org/stable/c/6311b8c471afa33c18adbe4eb16f862936b71ca3 https://git.kernel.org/stable/c/2a2367d46d7a4ee4122b7a86e57125542dbbe963