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=1793705172; b=gZZ7pLykMLwblRdrxtEfoMu8VhhywhxTFuaoWl97LomY55maFWfXcRoygSpT4dhvMk6/ T4NwgABIuVV7Gs8s9pWzaK4tOdADCMzX7u4t1EY9i1MJJGUDRgVyZF3vTdvPsASmmHDwv ADt0kGrm0lEN/eZI8QnV7PZEPXtO6zvTPO/QD6mWslRScY2phrg+XaRElY+TsWDgQgYHb 1WcJvlNbYsIhIdHjs0pnozmmF94wkTsK1xPh35yBguPZc91JZUZ1M66KROPSQ4Z6X6B6n BagNwZJNV73ZQvOCoChsKdAAkV1tfAVWl/Iru4i60TdmpaN3AvtlcL/MbdGrOYkv4ag== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793705172; 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=P1IlH/An7jmPO/ehLqNOwZOzVGz4NnqJR3+uDULfuSk=; b=sYMgJyqvJ4Vv5kOW9qFwNc1c3/AV7Hi/gdCV7X+jmL+9K1LIkv8adr16pSFne6d71gPL eiT+rgpqnPnVSTLUQwAe+PB44Dm1qQ4ALXPh0cyswOrnQWj7lfX7qQikSKg12tNDoFtsY MVnP+auWmW0gwAGLbUtBuhQhmz8yCUcnp0LTMT5s6OVnYhqQ+6B+EMj3ip/27zLzZM/gg nbJr/nF5PSeDUwgjryP7zUDprac58LHAFAoxsp22N9mwFwH25PCMF4gCvHv8a5mjvkCtk XuMOCMJa5giRtlGyLCpNptkmd8EXp1qyxOaMFPzxLVGGE5gN9AhRx8Q68rQ159rvOWw== 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="tQ/YEsZP"; 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 8D78C606B128 for ; Tue, 3 Nov 2026 11:26:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=tQ/YEsZP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61FAB1F000C1; Tue, 3 Nov 2026 11:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793705171; bh=P1IlH/An7jmPO/ehLqNOwZOzVGz4NnqJR3+uDULfuSk=; h=From:To:Cc:Subject:Date:Reply-To; b=tQ/YEsZPvd4MEgOEd68OLotcdNTtxf4ZGeTJSyzo0oH9C/wkKr+h/yrO+9qRr0+dS VS2dpiJGSCytzc7LLDwKiUYKZnJCvEaOBffZAHMBkfxc3FTpMd6dWX18fbj56qUuId YD9LLZCE0SpXARiCK5AA1TDvj4AmmVRWLoAikG1k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99258: x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index() Date: Tue, 3 Nov 2026 12:25:21 +0100 Message-ID: <2026110319-CVE-2026-99258-5781@gregkh> X-Mailer: git-send-email 2.56.0 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=3041; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KNiKdlDc4qvBm1pxYX5aNYDB/vZSvohH31Kk8x2nMNU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvj8wPyUvufW0um54/5eze9JXOZ/0ln0ywTa/gen69Y bbRjJJ5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRs1YM87T2K/vYxTi8Zv88 IyBHxSBiiYfFfYb5fmwSclsPrik1mto54XP+in1vJY55AgA= 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: x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index() hv_apicid_to_vp_index() currently uses the per-cpu hypercall input and output pages. This function is called when running in VTL2 and when running in an SEV-SNP CoCo VM with no paravisor. In the former case, the output page is allocated, but in the latter case it is not, so the hypervisor stores the output VP index in memory that has not been allocated by the guest. Fix this by using the input page for both input and output. The hypercall has very small input and output, so sharing the same page for both is straightforward. An alternative fix is to allocate the per-cpu output page when running in an SEV-SNP CoCo guest, but this uses significantly more memory, particularly with larger vCPUs counts. The Linux kernel CVE team has assigned CVE-2026-99258 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.41 with commit 3d12349ade541eefde0e71bf5c4aa7aa04c52a79 and fixed in 6.12.115 with commit bdba5f1b8bd0d18b1df61f769b559ed272902489 Issue introduced in 6.16 with commit 86c48271e0d60c82665e9fd61277002391efcef7 and fixed in 6.18.59 with commit 2b561786c9076a892ef8b8f416c9828bc87ed44f Issue introduced in 6.16 with commit 86c48271e0d60c82665e9fd61277002391efcef7 and fixed in 7.2.13 with commit bc8ca0f4769627ae7d04e7ffdbd20de4f27a9bf9 Issue introduced in 6.16 with commit 86c48271e0d60c82665e9fd61277002391efcef7 and fixed in 7.3 with commit 7b74c117e2aac78e0f723e1c9c3644451c56b0d9 Issue introduced in 6.15.3 with commit cb002d6c8f06d6061e84b2109cb84416107a9fb9 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-99258 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/x86/hyperv/hv_init.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/bdba5f1b8bd0d18b1df61f769b559ed272902489 https://git.kernel.org/stable/c/2b561786c9076a892ef8b8f416c9828bc87ed44f https://git.kernel.org/stable/c/bc8ca0f4769627ae7d04e7ffdbd20de4f27a9bf9 https://git.kernel.org/stable/c/7b74c117e2aac78e0f723e1c9c3644451c56b0d9