{"id":"CVE-2026-80602","aliases":["CVE-2026-80602"],"related":[],"kind":"vulnerability","state":"published","title":"perf/x86/amd/lbr: Fix kernel address leakage","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/amd/lbr: Fix kernel address leakage\n\nA user-only branch stack can contain branches that originate from\nthe kernel. As a result, kernel addresses are exposed to user space\neven when PERF_SAMPLE_BRANCH_USER is requested. On AMD processors\nsupporting X86_FEATURE_AMD_LBR_V2, perf can still report SYSRET/ERET\nentries for which the branch-from addresses are in the kernel.\n\nE.g.\n\n  $ perf record -e cycles -o - -j any,save_type,u -- \\\n        perf bench syscall basic --loop 1000 | \\\n        perf script -i - -F brstack|tr ' ' '\\n'| \\\n        grep -E '0x[89a-f][0-9a-f]{15}'\n\n  ...\n  0xffffffff81001268/0x717a90a38f1a/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a39157/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a2c628/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a41b60/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a8bef1c30/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a8e4d3c90/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  ...\n\nThe reason is that the hardware filter only considers the privilege\nlevel applicable to the branch target. Extend software filtering to\nalso validate the branch-from addresses against br_sel, so that any\nbranch record whose branch-from address is in the kernel is dropped\nwhen PERF_SAMPLE_BRANCH_USER is requested.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/amd/lbr: Fix kernel address leakage\n\nA user-only branch stack can contain branches that originate from\nthe kernel. As a result, kernel addresses are exposed to user space\neven when PERF_SAMPLE_BRANCH_USER is requested. On AMD processors\nsupporting X86_FEATURE_AMD_LBR_V2, perf can still report SYSRET/ERET\nentries for which the branch-from addresses are in the kernel.\n\nE.g.\n\n  $ perf record -e cycles -o - -j any,save_type,u -- \\\n        perf bench syscall basic --loop 1000 | \\\n        perf script -i - -F brstack|tr ' ' '\\n'| \\\n        grep -E '0x[89a-f][0-9a-f]{15}'\n\n  ...\n  0xffffffff81001268/0x717a90a38f1a/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a39157/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a2c628/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a41b60/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a90a260db/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a8bef1c30/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  0xffffffff81001268/0x717a8e4d3c90/M/-/-/0/ERET/NON_SPEC_CORRECT_PATH\n  ...\n\nThe reason is that the hardware filter only considers the privilege\nlevel applicable to the branch target. Extend software filtering to\nalso validate the branch-from addresses against br_sel, so that any\nbranch record whose branch-from address is in the kernel is dropped\nwhen PERF_SAMPLE_BRANCH_USER is requested.","source":"cvelist"}],"published":"2026-08-28T06:48:28.553Z","modified":"2026-10-30T13:20:07.733Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"5adfec05e804ce4bd3368b75df5e5b7b40ee960b","status":"affected"},{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"5be478c1e08981ca91b34de310d7e2638171d9d8","status":"affected"},{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"208ecca408b1707ad86ea247d3d3e09d3606fc13","status":"affected"},{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"5ab0eba9c8819506bcb72348fd701f8a9006f95e","status":"affected"},{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"fb3b76b5ad2ebad63dd76f8b65b624eaf638b73f","status":"affected"},{"type":"git","introduced":"f4f925dae7419fc7a10af539c073871927ce3a24","fixed":"2a892294b83f541115c94b0bb637f39bef187657","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5adfec05e804ce4bd3368b75df5e5b7b40ee960b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5be478c1e08981ca91b34de310d7e2638171d9d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/208ecca408b1707ad86ea247d3d3e09d3606fc13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ab0eba9c8819506bcb72348fd701f8a9006f95e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb3b76b5ad2ebad63dd76f8b65b624eaf638b73f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a892294b83f541115c94b0bb637f39bef187657","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80602","url":"https://www.cve.org/CVERecord?id=CVE-2026-80602","licence":"CVE Terms of Use","modified":"2026-10-30T12:30:41.331Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80602","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80602","licence":"Public domain","modified":"2026-10-30T13:20:07.733Z"}],"updatedAt":"2026-11-25T22:59:35.584Z","epss":{"score":0.00173,"percentile":0.07075,"date":"2026-12-01T12:00:22.000Z"}}