Impact
In Linux kernel versions that support AMD BRS, a user‑space request to perf for branch‑stack samples can reveal kernel memory addresses because the branch‑from address is not checked against the requested privilege level. This flaw allows any local user who can run perf to learn the layout and addresses of kernel code, providing information that may aid subsequent attacks. The weakness is an Information‑Disclosure vulnerability (CWE‑1220).
Affected Systems
All Linux kernel implementations running on AMD Zen 3 processors with branch stack sampling enabled (PERF_SAMPLE_BRANCH_USER). The advisory does not specify exact kernel versions, but the patch is included in recent releases, affecting any kernel that exposes BRS for user‑space sampling.
Risk and Exploitability
The CVSS score of 5.5 indicates medium severity, and the EPSS score of less than 1% suggests a very low but non‑zero likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. A local privileged user can trigger the leak by executing perf with the -j any,u option or other branch‑stack sampling settings. Because the data path is local, remote exploitation is not possible, but the information disclosure can weaken mitigation defenses such as address space layout randomization.
OpenCVE Enrichment