From mboxrd@z Thu Jan 1 00:00:00 1970 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 64D373AA9E2 for ; Sun, 19 Jul 2026 15:47:57 +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=1784476078; cv=none; b=N6jL2I16Nw64lB3NCGd7kdk9YWD6P2i2rx0V26pdcEABbac8Sldt85thyAl2ZCP2nsCXgla83X3y2Y/5nGytS1fsM5X4yEqNANy4ACEkBc+NU22hGB3dxIKr3DcBD0EQwr2gkQM0M1BGFnguQFmmGZgDaQoGKWgQxzGD8/PAu5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784476078; c=relaxed/simple; bh=ci60Ku2oRUVyJzsMGtbVFuq0pHP0eRxb1add4kA5YcQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cDGl7RYnStM8VET0Uqn3JiWLwVXXeoDZQwEYN+tWAMxSzy3tZ7ey2WL+xiJBCo1iZ81ktK0Yda5MQ/mt1ywyB4hZmnQL4bijTE6w9OuCU/DhKvpmVE5SMcBBB6023n92D6XZUlTsxDPDtQjFjE0mdza9Iy3FRn25/34uI0U3t0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MIVQ1eW3; 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="MIVQ1eW3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7F741F000E9; Sun, 19 Jul 2026 15:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784476077; bh=Og0ZeHP6vwwyCoS4mj89AMDwwbjX8+O9nEzoz+1YKGc=; h=From:To:Cc:Subject:Date:Reply-To; b=MIVQ1eW3HJiy3V3+u3GgVT3WNtJR9EB7jxnP+Z2q0jAiy2oQiIlsgGcLby1Glw43l QJ4DnT1mgQ/veaewiR1cG2nvzFfNLJmtHz8Lb3WPFTUW7oFtlm+roGXwsOWW2CUS3o Ity16SzHiZnKOIW+PX6RCGiBgM6Tec70MNMuUVnQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64167: kho: skip KHO for crash kernel Date: Sun, 19 Jul 2026 17:40:29 +0200 Message-ID: <2026071935-CVE-2026-64167-a168@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=2770; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VNmLZSx88M93zgLTdU6aAyPQOuHnUU1NwrUj4QmF9rw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx76sbWoz+s/v/sAoPtZx09avKybMH93VYZNrvc9yTf DaUJzqnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyeT7DPOX5f6a8S52wb8lX mQp/Z42N5QFXNzDMlT0SfsNBJPLtQWbGjoZXmsZB350PAwA= 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: kho: skip KHO for crash kernel kho_fill_kimage() unconditionally populates the kimage with KHO metadata for every kexec image type. When the image is a crash kernel, this can be problematic as the crash kernel can run in a small reserved region and the KHO scratch areas can sit outside it. The crash kernel then faults during kho_memory_init() when it tries phys_to_virt() on the KHO FDT address: Unable to handle kernel paging request at virtual address xxxxxxxx ... fdt_offset_ptr+... fdt_check_node_offset_+... fdt_first_property_offset+... fdt_get_property_namelen_+... fdt_getprop+... kho_memory_init+... mm_core_init+... start_kernel+... kho_locate_mem_hole() already skips KHO logic for KEXEC_TYPE_CRASH images, but kho_fill_kimage() was missing the same guard. As kho_fill_kimage() is the single point that populates image->kho.fdt and image->kho.scratch, fixing it here is sufficient for both arm64 and x86 as the FDT and boot_params path are bailing out when these fields are unset. The Linux kernel CVE team has assigned CVE-2026-64167 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit d7255959b69a4e727c61eb04231d11390d4f391e and fixed in 7.0.11 with commit a6ac6721326a75ff2d14c68db05f93b576d8762f Issue introduced in 6.19 with commit d7255959b69a4e727c61eb04231d11390d4f391e and fixed in 7.1 with commit a6715d7ec472a476db17787697a4abda62962284 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-64167 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: kernel/liveupdate/kexec_handover.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/a6ac6721326a75ff2d14c68db05f93b576d8762f https://git.kernel.org/stable/c/a6715d7ec472a476db17787697a4abda62962284