From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795153982; b=jF49Dpy+sTIJoLU9Y9JLtfFD0QC/a+LMybchZvBjG2nV9zmXNWpr4IBMmpshcFphhnkO ThuJIVi6n01+BSEvhI+SMUjUZ28JA8LuGww9iPBrp3OHLzifXl4prJfKOeeHGKbTnSqhn 57THUrUFXUjZiy+0Mlk4e1RgI97KtC1ubLplrTsB4kT3aATzR+oHRwxPtbeXrn9M2cX9o 8PWg8qLV4vHznjJbB5jRaCAGnNfbysBFqn0j10Xi6bGNQj1jUfQHcGOc8Jz74yrQhN8tc JCXQ7wWF/yXeC9ICz+vD1J7m3qdocRG2mQ0Te+5D5GSfH03W2KjLvzD2ULmARv20BVw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795153982; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=P8J3BH1V3FzQ3+AUSsQfh6VcsLNNRt0k49yz1H88ExA=; b=tY22FGbmZLYC+ATCW71lfptgc8Mb5zMjVmmhNjh8oOhsTmW4voDUDS6bid3R593uo5mF JO+q7KGgwo9xs66QeeJ0ObxnQhNSFs0twNh9IfdHF3nLu+25SbAJutQsfNHkbOgP10Twz 3s9xtawyHM5O2kqGzf1J/UdIIPjc6ZsDsjClH/47m1nRIswbavSu5+Z4dlih1PmYUpc/1 lj4eb+WzxuM6v7JEDKw5nelfE4IlrkLu1NJxyokcFBvPrIwAgdHwrRG+mF9Vsk7bBC4fE Xcw3Z+Lx6EFmVLEak/WjG8+In7DpsJjQVGuXok+RzACnbjJ4FJNdFcIwFaZJ5m1p6GQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=hzCpKpc+; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8E23606A320 for ; Fri, 20 Nov 2026 05:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=hzCpKpc+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E2D41F000C6; Fri, 20 Nov 2026 05:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795153981; bh=P8J3BH1V3FzQ3+AUSsQfh6VcsLNNRt0k49yz1H88ExA=; h=From:To:Cc:Subject:Date:Reply-To; b=hzCpKpc+XqsW8XmtdYvjUCnuEco28khkRbOcd16hcmoFkd723HjO4xwhQ1qvP7BEF W03EIwDHO1/3QixdgQIxJv5zAaRrYdTeVmt5ux+AOK1CIYOnD5GFoPwoCdF3YSUyOe cDO8JFNwX0wpsxa4LP/Sz/66+ZNRI9Ql+ZjSz9MA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99585: KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort() Date: Fri, 20 Nov 2026 06:49:31 +0100 Message-ID: <2026112020-CVE-2026-99585-e004@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2840; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E4MuavxPWDsjgifvL9FCU3vn7rc6MiZYFF32bfkvINA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yecfFFr7pYpOXflIplLIXMOC9UcyL3w4XyxM6eqf HNV2w+LjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIvw/DgjN6S0X57VOuZk3+ FPCJUefK3JQgR4YFlxQK4kyb22eZGXl9rJqZo6b37PF3AA== 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: KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort() gmem_abort() maps at s2fd->fault_ipa, which HPFAR_EL2 holds at 4K granularity whatever the page size. The generic page-table code aligns it, but pkvm_pgtable_stage2_map() looks up existing mappings over [addr, addr + size), so on a pKVM host with pages larger than 4K a guest_memfd-backed guest that faults past the first 4K of a page can find its neighbour's mapping, get -EAGAIN and take the same fault forever. The memory fault exit reports s2fd->fault_ipa too, which for a nested guest's fault is the nested IPA rather than the canonical one kvm_gmem_get_pfn() failed on. Take the addresses from kvm_s2_fault_vma_info instead, as user_mem_abort() does, and report the canonical gfn in the memory fault exit. kvm_s2_fault_get_vma_info() itself isn't called: a guest_memfd memslot's userspace_addr doesn't need to be backed by a VMA. The Linux kernel CVE team has assigned CVE-2026-99585 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit a7b57e0995927cc5fb8629594e2abf2a6f1000e9 and fixed in 6.18.64 with commit 09462113ed3906929b228144a738e7b15cb9f52d Issue introduced in 6.18 with commit a7b57e0995927cc5fb8629594e2abf2a6f1000e9 and fixed in 7.3.5 with commit 9f84bde6aaade57b2ef7b71c1783b30773cd43d6 Issue introduced in 6.18 with commit a7b57e0995927cc5fb8629594e2abf2a6f1000e9 and fixed in 7.4-rc1 with commit 80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122 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-99585 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/arm64/kvm/mmu.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/09462113ed3906929b228144a738e7b15cb9f52d https://git.kernel.org/stable/c/9f84bde6aaade57b2ef7b71c1783b30773cd43d6 https://git.kernel.org/stable/c/80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122