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 F1C72370D63 for ; Sat, 15 Aug 2026 06:22:36 +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=1786774958; cv=none; b=dPkJ2smnteH3P0IWaTmOKXsGracwsFczBdFiyl5uPR29s7w3ZGbQYOjACbifilXRx18Q7/hqHJs48WARJ0heLsN+bWi/DNtScNbLovS9L//WcXjY7Oxj2PN4kLWudHdmUTLAmoKMPpAl02fs73TJWF3aHjHKcqRIg44BVirgy1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774958; c=relaxed/simple; bh=1SC3cH3fBieYYgzLoLURN38NJBm8CVYnV2O2ag7DBZ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=axA3lbSpvHEjX5eKzY2AJFuLGuSDz3ZM1pQ+VCFWWb1S4UwijQZ4keNMH4MCSWPiA9eAL2+dBPSo4ghiqcoBYPEwiSnXtRdMEzbEW5ZxJwcVgU56RnPaJVC4wkcWeo1fJg/VKNDzQ2k0JI45eItcCHZvdmSV3hf0U2Wu9a67Ljg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sr6w0to3; 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="sr6w0to3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51C3C1F000E9; Sat, 15 Aug 2026 06:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774956; bh=zfRNnRiX3juFapoTzSqwHz7oZ/xgGetcR8Ekn5l138E=; h=From:To:Cc:Subject:Date:Reply-To; b=sr6w0to3rwYoO02K82frkzXKh0+KVBPj3ydHYNR0FFlApx/h84Fr3Pt1Kl9kiC6s0 bH9CEzyPEeIyTRnACtDaQ/EqLtPmJvMBk4yARmRZkUuSQ8WLGfbvQETp1JISYvjIVA OPd1JuEhfDhJukc5dOIct0WS1d7TnF+d8nTvxdOg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72325: perf/x86/amd/core: Avoid enabling BRS from the SVM reload path Date: Sat, 15 Aug 2026 15:06:44 +0900 Message-ID: <2026081507-CVE-2026-72325-db28@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=3827; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rgZ9EdNjRtRhoaQNLxZC+0tjxF5CYTlu55wTcMxlH3M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDPel1CzjmLztylpvXFSry5+e17tS97nIgSjfU5dNo yen6gl2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERefmSYn2q+WmGp5oWGHWsZ LDd957hrsEH7L8P8KOGl7scYJOuUZ29R41r/bpPM51PlAA== 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: perf/x86/amd/core: Avoid enabling BRS from the SVM reload path Branch Sampling (BRS) and Last Branch Record (LBR) are mutually exclusive hardware features, and users of both are tracked via cpuc->lbr_users. When SVM is toggled on a CPU, the host perf events are reprogrammed to update the HostOnly filter bit (set when virtualization is enabled, cleared when it is disabled). On PerfMonV2-capable processors, this reprogramming is performed by calling amd_pmu_enable_all() to rewrite the event selectors. However, amd_pmu_enable_all() also calls amd_brs_enable_all(), which enables BRS whenever cpuc->lbr_users > 0. Having active LBR events satisfies this gating on processors that have LBR but not BRS. The kernel then tries to set the BRS enable bit in DebugExtnCfg (MSR 0xc000010f). Since that bit is deprecated on such hardware, the write results in a #GP: Call Trace: amd_pmu_enable_all+0x1d/0x90 amd_pmu_disable_virt+0x62/0xb0 kvm_arch_disable_virtualization_cpu+0xa/0x40 [kvm] hardware_disable_nolock+0x1a/0x30 [kvm] __flush_smp_call_function_queue+0x9b/0x410 __sysvec_call_function+0x18/0xc0 sysvec_call_function+0x69/0x90 asm_sysvec_call_function+0x16/0x20 RIP: 0010:cpuidle_enter_state+0xc4/0x450 ? cpuidle_enter_state+0xb7/0x450 cpuidle_enter+0x29/0x40 cpuidle_idle_call+0xf5/0x160 do_idle+0x7b/0xe0 cpu_startup_entry+0x26/0x30 start_secondary+0x115/0x140 secondary_startup_64_no_verify+0x194/0x19b Fix this by ensuring that BRS is not enabled from the event selector reprogramming path even when cpuc->lbr_users > 0. The Linux kernel CVE team has assigned CVE-2026-72325 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit bae19fdd7e9e759580ac4693d2df3bc23ab415d7 and fixed in 6.12.97 with commit e9b1a7411a667539c2f55e720bbb5f623b526a32 Issue introduced in 5.19 with commit bae19fdd7e9e759580ac4693d2df3bc23ab415d7 and fixed in 6.18.40 with commit 7cc438c99bba324a0562b1bafa747b10f7e251df Issue introduced in 5.19 with commit bae19fdd7e9e759580ac4693d2df3bc23ab415d7 and fixed in 7.1.5 with commit 46d0fd8535edce31f15e48d2de1bdee39a4850e5 Issue introduced in 5.19 with commit bae19fdd7e9e759580ac4693d2df3bc23ab415d7 and fixed in 7.2-rc3 with commit 07c60dda9c059c09f83d42a3ebda2e7cc1cf3bc2 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-72325 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/events/amd/core.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/e9b1a7411a667539c2f55e720bbb5f623b526a32 https://git.kernel.org/stable/c/7cc438c99bba324a0562b1bafa747b10f7e251df https://git.kernel.org/stable/c/46d0fd8535edce31f15e48d2de1bdee39a4850e5 https://git.kernel.org/stable/c/07c60dda9c059c09f83d42a3ebda2e7cc1cf3bc2