{"id":"CVE-2026-72237","aliases":["CVE-2026-72237"],"related":[],"kind":"vulnerability","state":"published","title":"perf/x86/amd/brs: Fix kernel address leakage","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/amd/brs: 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_BRS (Zen 3 only), perf can still report entries\nsuch as SYSRET/interrupt returns for which the branch-from addresses\nare in the kernel.\n\nE.g.\n\n  $ perf record -j any,u -c 4000 -e branch-brs -o - -- \\\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  0xffffffff810001c4/0x72e2e32955eb/-/-/-/0//-\n  0xffffffff810001c4/0x72e2d94a9821/-/-/-/0//-\n  0xffffffff810001c4/0x72e2d94ffa1b/-/-/-/0//-\n  ...\n\nBRS provides no hardware branch filtering, so privilege level\nfiltering is performed entirely in software. However, amd_brs_match_plm()\nonly validates the branch-to address against the requested privilege\nlevels. For branches from the kernel to user space, the branch-from\naddress is left unchecked and is leaked. Extend the software filter to\nalso validate the branch-from address, so that any branch record whose\nbranch-from address is in the kernel is dropped when\nPERF_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/brs: 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_BRS (Zen 3 only), perf can still report entries\nsuch as SYSRET/interrupt returns for which the branch-from addresses\nare in the kernel.\n\nE.g.\n\n  $ perf record -j any,u -c 4000 -e branch-brs -o - -- \\\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  0xffffffff810001c4/0x72e2e32955eb/-/-/-/0//-\n  0xffffffff810001c4/0x72e2d94a9821/-/-/-/0//-\n  0xffffffff810001c4/0x72e2d94ffa1b/-/-/-/0//-\n  ...\n\nBRS provides no hardware branch filtering, so privilege level\nfiltering is performed entirely in software. However, amd_brs_match_plm()\nonly validates the branch-to address against the requested privilege\nlevels. For branches from the kernel to user space, the branch-from\naddress is left unchecked and is leaked. Extend the software filter to\nalso validate the branch-from address, so that any branch record whose\nbranch-from address is in the kernel is dropped when\nPERF_SAMPLE_BRANCH_USER is requested.","source":"cvelist"}],"published":"2026-08-15T05:54:26.685Z","modified":"2026-08-19T17:21:00.693Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"4f949bc3913a6e3ce3b8574ac6ed1da8ec7a5ad1","status":"affected"},{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"ac44b4a3d6137489f8fa2e794b12e849c6b22eaa","status":"affected"},{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"90843d00dbc61220b66408ea0d8775cae9e51f70","status":"affected"},{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"046f6244da9b68e463a849b21446b9424e531491","status":"affected"},{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"2e706be56f418718bb3ae66c0aa94f9b61150e6d","status":"affected"},{"type":"git","introduced":"8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08","fixed":"47915e855fb38b42133e31ba917d99565f862154","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.1.183","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/4f949bc3913a6e3ce3b8574ac6ed1da8ec7a5ad1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac44b4a3d6137489f8fa2e794b12e849c6b22eaa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90843d00dbc61220b66408ea0d8775cae9e51f70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/046f6244da9b68e463a849b21446b9424e531491","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e706be56f418718bb3ae66c0aa94f9b61150e6d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47915e855fb38b42133e31ba917d99565f862154","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72237","url":"https://www.cve.org/CVERecord?id=CVE-2026-72237","licence":"CVE Terms of Use","modified":"2026-08-19T16:36:31.271Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72237","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72237","licence":"Public domain","modified":"2026-08-19T17:21:00.693Z"}],"updatedAt":"2026-11-25T22:59:33.054Z","epss":{"score":0.00211,"percentile":0.12092,"date":"2026-12-01T12:00:22.000Z"}}