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 61D9B4D0A1C for ; Wed, 16 Sep 2026 10:41:19 +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=1789555283; cv=none; b=FjPuIcV4jhgpX5P+Y99pRsJw0yNGVGtHP7+brdun99EnqeacdKibI2Fv58ymOXnLXivB479uyT7eMQV21424xbrQrUcJuv9Q6tHAFsKgMzRuoWdaYCeL1W4fthKYtbV9UZVIgKa3TLnF4ij3lqIPWZ7gQal+RwpT+DUkvmPNk6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555283; c=relaxed/simple; bh=06sNGUduLEpqYxJaX0xQRM+1Rg2NcOBijDbpEvGfvnQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mreMnxmqBdkwfOurHDnylfUEdA3XGiYoDEzlbEmMUInzDt87PjhihRm/dIOoLfc2pPl4dKeAtsbEnNmf7L9r6wpW/0wxcUimPDuIheAJNHHj9BB6xA/8Mkp0Hyz8+2pBOPUAg7YhtrTJcopX5mbjVdY+zt1c3R7xb79KkA4XnYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X8qF401R; 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="X8qF401R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A28F1F00893; Wed, 16 Sep 2026 10:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555277; bh=B6Y9L14ofJR6xFmbGd3qOSlPcbPDJWFsik31gteHiF0=; h=From:To:Cc:Subject:Date:Reply-To; b=X8qF401RCbwQ6JD33PddFkBamMZD1eFdzwpBHd1isl12VE2wsFuLyUbWlp0ZSV0IY veqzmHSGFwsxDWjdyJdllciOq++WQPMs/YZMY9gk9Yn7YsT3lL+pcGhAVeQN7izpGN su0aWSlEJOPTSFJQ8epdXw2+vJeUoQ85ILu2353k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89963: powerpc/kexec_file: Fix null-ptr-def in extra size calculation Date: Wed, 16 Sep 2026 11:31:33 +0100 Message-ID: <2026091652-CVE-2026-89963-a65c@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=2621; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Pcn09i5v9K64OUFB5Atsd6XWW0tWLGLeFOgQDfY3dmQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8hc4HMt5YnR6b3ighde0t4/aig3slOuFjwV+rrB1m euaMO1kRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE+C/Dgh65We/vSJRPTihk v+QiV6joMe+LAsM880Vt8+fWcih825ZyeeJDlwzmfX8yAQ== 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/kexec_file: Fix null-ptr-def in extra size calculation A static Sashiko AI review identified a potential NULL pointer dereference in kexec_extra_fdt_size_ppc64(). On platforms without any reserved memory regions, get_reserved_memory_ranges() can return 0 while leaving 'rmem' unallocated as NULL. Passing it directly leads to a kernel panic when evaluating 'rmem->nr_ranges'. Add a NULL check for 'rmem' to prevent this crash. The Linux kernel CVE team has assigned CVE-2026-89963 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 0d3ff067331ef84e7e7f49537d768881042ed5ba and fixed in 6.12.110 with commit 11ef1c2a5dbe0bd8c1345f59bab7331d352f02cf Issue introduced in 6.11 with commit 0d3ff067331ef84e7e7f49537d768881042ed5ba and fixed in 6.18.51 with commit df45337587db21c502fe5251d3bcc7887428f4fb Issue introduced in 6.11 with commit 0d3ff067331ef84e7e7f49537d768881042ed5ba and fixed in 7.2.5 with commit 4ff3d9fd71c7bc2fc81afdac1970d9c55a5c0dea Issue introduced in 6.11 with commit 0d3ff067331ef84e7e7f49537d768881042ed5ba and fixed in 7.3-rc1 with commit 761eda315a6e1fda3e8e2185b28430771fb1ac29 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-89963 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/kexec/file_load_64.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/11ef1c2a5dbe0bd8c1345f59bab7331d352f02cf https://git.kernel.org/stable/c/df45337587db21c502fe5251d3bcc7887428f4fb https://git.kernel.org/stable/c/4ff3d9fd71c7bc2fc81afdac1970d9c55a5c0dea https://git.kernel.org/stable/c/761eda315a6e1fda3e8e2185b28430771fb1ac29