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 2F40C340401 for ; Fri, 28 Aug 2026 06:49:07 +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=1787899749; cv=none; b=TbJzmQEfd2yssYgBUDVjS8bc8LOLoRWA9Mt+1NabCv9xjLz+wtVYkdhgGh0zJYg93mV81WAhze3WVfU/5H48580mxCL0DQqwUI4i0tvgU/ncvOpN8XtG3jhIxV5tHGEOlBhilCJzO0DPVHdxU/gxO62teom/7iOXY7ic7TkaEu0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899749; c=relaxed/simple; bh=936plLYnatg+b7ozInlxs4D2x/WLgVe8w6U9Qw++mks=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LJscforZyLzUP+VDBPh/YRXJ5X0NYCpg9uabMgA7j825+oh0ldBszZHWgiwqUHUjvQ3D6qgPIak1il5I3Fzg3e+YUhm8e1h/PHZmv1SKBlH7Ig9JNbubedbT5azBV/Wj2DnrgVKX9R/RoBC008dKIdfot2hkZNAGpQRw3qDglJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hgmaik5K; 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="hgmaik5K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BA1F1F000E9; Fri, 28 Aug 2026 06:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899747; bh=1+jWpimNBf9AOM1RZuayKpJeHKqpNWsgiFtV9xjdB/I=; h=From:To:Cc:Subject:Date:Reply-To; b=hgmaik5KxS1/2Optb2UFZBUp8Jr++9aXJ6Yq44vBx59uq+9OIhM36EvEwUpluLtaE WytHTf6QGF8g6YsrimjiBiq7D4lGQDBnCIOIhlOtqNmOU1dZpCmonTTg7wxkLqm1Ci eHUayepVfewA/G+a2aniQMcfvFMAWRh7462wxnVw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80602: perf/x86/amd/lbr: Fix kernel address leakage Date: Fri, 28 Aug 2026 08:48:39 +0200 Message-ID: <2026082832-CVE-2026-80602-61e4@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=3891; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AT/nEuwqHK8H07mMA/Pa2qUJtbKW0/yCESLJB3A3+00=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9R0uqGm+cs5vaakNX8mkoJ7HGClo921JmxjzHSk+h 774H8UdsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJFuJYYFcx8r/JJMn3rsi0HU YzaJTct1u35aMMwPj9qzVePhdSlX2c8Jl1ZoPk1v+lgGAA== 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/lbr: Fix kernel address leakage A user-only branch stack can contain branches that originate from the kernel. As a result, kernel addresses are exposed to user space even when PERF_SAMPLE_BRANCH_USER is requested. On AMD processors supporting X86_FEATURE_AMD_LBR_V2, perf can still report SYSRET/ERET entries for which the branch-from addresses are in the kernel. E.g. $ perf record -e cycles -o - -j any,save_type,u -- \ perf bench syscall basic --loop 1000 | \ perf script -i - -F brstack|tr ' ' '\n'| \ grep -E '0x[89a-f][0-9a-f]{15}' ... 0xffffffff81001268/0x717a90a38f1a/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a90a39157/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a90a2c628/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a90a41b60/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a8bef1c30/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH 0xffffffff81001268/0x717a8e4d3c90/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH ... The reason is that the hardware filter only considers the privilege level applicable to the branch target. Extend software filtering to also validate the branch-from addresses against br_sel, so that any branch record whose branch-from address is in the kernel is dropped when PERF_SAMPLE_BRANCH_USER is requested. The Linux kernel CVE team has assigned CVE-2026-80602 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit f4f925dae7419fc7a10af539c073871927ce3a24 and fixed in 6.6.145 with commit 5be478c1e08981ca91b34de310d7e2638171d9d8 Issue introduced in 6.1 with commit f4f925dae7419fc7a10af539c073871927ce3a24 and fixed in 6.12.97 with commit 208ecca408b1707ad86ea247d3d3e09d3606fc13 Issue introduced in 6.1 with commit f4f925dae7419fc7a10af539c073871927ce3a24 and fixed in 6.18.40 with commit 5ab0eba9c8819506bcb72348fd701f8a9006f95e Issue introduced in 6.1 with commit f4f925dae7419fc7a10af539c073871927ce3a24 and fixed in 7.1.5 with commit fb3b76b5ad2ebad63dd76f8b65b624eaf638b73f Issue introduced in 6.1 with commit f4f925dae7419fc7a10af539c073871927ce3a24 and fixed in 7.2 with commit 2a892294b83f541115c94b0bb637f39bef187657 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-80602 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/lbr.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/5be478c1e08981ca91b34de310d7e2638171d9d8 https://git.kernel.org/stable/c/208ecca408b1707ad86ea247d3d3e09d3606fc13 https://git.kernel.org/stable/c/5ab0eba9c8819506bcb72348fd701f8a9006f95e https://git.kernel.org/stable/c/fb3b76b5ad2ebad63dd76f8b65b624eaf638b73f https://git.kernel.org/stable/c/2a892294b83f541115c94b0bb637f39bef187657