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 13B2F3DDDCB for ; Sat, 15 Aug 2026 12:30: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=1786797058; cv=none; b=GP/3JhBu/RS31PntbSeuhd/a1BD+S1bYuPVgCPNARWYAx1NW+AnKf2pn6Y6bEiFTk6KzCd9J8fUh2c8h3j8xk+D2hix7UxMwK60FwMC3Ta25UIbJlRnE2a7AMfpm1Aa5F/tU9GMdlQswKd0XHk3AJ+/opw/aaIW2G7k9tjSWLLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797058; c=relaxed/simple; bh=B/+4MgSZYBM8IrE+Q4rrZXlF3/u0kq2DS7CXjg5SVsA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qvEmqxC4pKmV6RAIXHhJp7cMoish3L+uWl0hkxeOoh9f4qiXi0pmM6p/ianBIqOanXd3Lz1+Qbz5L3B0iTVsL/77WleUYNAjDMHXM6Q9JPXnAMlFgxRbZlkl0bK6iEmRc8ln5gNjm4yRspJJlYpmDNdTNX1zBPThTudbC6P67SA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IqPoUfSK; 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="IqPoUfSK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D6001F000E9; Sat, 15 Aug 2026 12:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797057; bh=s1FXnSaizSqyC+bBNakVV+814nMuOpNBEPer+kVszj0=; h=From:To:Cc:Subject:Date:Reply-To; b=IqPoUfSK+xR+V4E5htT/fGrZdlOko7pvp1uvvHDPDSv3psdwYZhwi1AeKk+zfrZS+ /yetpiqyN8uz8KTSbLWdTjHP+oorjN+jS0G2+vMj85tiwEau1mV3FLo3wLKHW6SXd3 prFJtKgV5nuRtLSxpOoAr/OjZ4+f8ep7hunHaurg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74516: KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active Date: Sat, 15 Aug 2026 21:26:37 +0900 Message-ID: <2026081543-CVE-2026-74516-6af5@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=4133; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nXbCzQHPUwHn64vHE8SaCtRmCsi+xDYdTfLJyKRxIRE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNUced0nxPfo8M26T5Uqd33d3jUn/+HWC3TEvsm2f1X 2XK9ll8HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRQ3EM813yr3csM3wV0eFX 8nKTArfmHXaWJob51fZXJA/9fCgQ/Vg0yXupqf8Gv338AA== 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: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active Always update x2APIC MSR intercepts for L1 when AVIC is deactivated, even if L2 is active and KVM is using a separate MSR bitmap to run L2. If AVIC is fully enabled prior to running L2, and is then inhibited while L2 is active (for a VM-scoped inhibit), then KVM will run L1 with AVIC disabled, but with x2APIC MSR intercepts disabled, i.e. will allow L1 to read most of the host's APIC state, send arbitrary interrupts, change task priority, and ultimately trivially DoS the host. E.g. sending a self-IPI in L1 on HYPERV_REENLIGHTENMENT_VECTOR, 0xee, with CONFIG_HYPERV=n in the host kernel as a "safe" PoC, yields: Spurious interrupt (vector 0xee) on CPU#425. Acked And hacking KVM to abuse kvm_set_posted_intr_wakeup_handler() to register a handler and WARN on POSTED_INTR_WAKEUP_VECTOR yields: ------------[ cut here ]------------ WARNING: arch/x86/kvm/svm/svm.c:5594 at pi_wakeup_handler+0x9/0x10 [kvm_amd], CPU#156: nested_x2apic_t/316940 CPU: 156 UID: 0 PID: 316940 Comm: nested_x2apic_t Tainted: G S U Tainted: [S]=CPU_OUT_OF_SPEC, [U]=USER Hardware name: Google Astoria-Turin/astoria, BIOS 0.20260209.0-0 02/09/2026 RIP: 0010:pi_wakeup_handler+0x9/0x10 [kvm_amd] Call Trace: sysvec_kvm_posted_intr_wakeup_ipi+0x64/0x80 asm_sysvec_kvm_posted_intr_wakeup_ipi+0x1a/0x20 RIP: 0010:vcpu_run+0x1430/0x1e40 [kvm] kvm_arch_vcpu_ioctl_run+0x2c1/0x600 [kvm] kvm_vcpu_ioctl+0x580/0x6b0 [kvm] __se_sys_ioctl+0x6d/0xb0 do_syscall_64+0x10a/0x480 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x46ff4b ---[ end trace 0000000000000000 ]--- The Linux kernel CVE team has assigned CVE-2026-74516 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 091abbf578f926e763adc0f577baeb7f405b4bdc and fixed in 6.6.151 with commit 6664a5aea45318f4ec156a729949b474dd6e3159 Issue introduced in 6.0 with commit 091abbf578f926e763adc0f577baeb7f405b4bdc and fixed in 6.12.103 with commit f12373625b4dc9bcc89c41872648878c73bb9272 Issue introduced in 6.0 with commit 091abbf578f926e763adc0f577baeb7f405b4bdc and fixed in 6.18.44 with commit 7668c58dcf465559dc7a0d2e95e9cb79cf47454b Issue introduced in 6.0 with commit 091abbf578f926e763adc0f577baeb7f405b4bdc and fixed in 7.1.8 with commit 89f9e8398e79c49886766fc24a84c37726231104 Issue introduced in 6.0 with commit 091abbf578f926e763adc0f577baeb7f405b4bdc and fixed in 7.2-rc6 with commit 7d3aae206663c4e006b25a1c7a20a4029e67da76 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-74516 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/kvm/svm/avic.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/6664a5aea45318f4ec156a729949b474dd6e3159 https://git.kernel.org/stable/c/f12373625b4dc9bcc89c41872648878c73bb9272 https://git.kernel.org/stable/c/7668c58dcf465559dc7a0d2e95e9cb79cf47454b https://git.kernel.org/stable/c/89f9e8398e79c49886766fc24a84c37726231104 https://git.kernel.org/stable/c/7d3aae206663c4e006b25a1c7a20a4029e67da76