CVE-2026-72237

Source
https://cve.org/CVERecord?id=CVE-2026-72237
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72237.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72237
Downstream
Published
2026-08-15T05:54:26Z
Modified
2026-08-21T03:30:40Z
Summary
perf/x86/amd/brs: Fix kernel address leakage
Details

In the Linux kernel, the following vulnerability has been resolved:

perf/x86/amd/brs: 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_BRS (Zen 3 only), perf can still report entries such as SYSRET/interrupt returns for which the branch-from addresses are in the kernel.

E.g.

$ perf record -j any,u -c 4000 -e branch-brs -o - --
perf bench syscall basic --loop 1000 |
perf script -i - -F brstack|tr ' ' '\n'|
grep -E '0x[89a-f][0-9a-f]{15}'

... 0xffffffff810001c4/0x72e2e32955eb/-/-/-/0//- 0xffffffff810001c4/0x72e2d94a9821/-/-/-/0//- 0xffffffff810001c4/0x72e2d94ffa1b/-/-/-/0//- ...

BRS provides no hardware branch filtering, so privilege level filtering is performed entirely in software. However, amd_brs_match_plm() only validates the branch-to address against the requested privilege levels. For branches from the kernel to user space, the branch-from address is left unchecked and is leaked. Extend the software filter to also validate the branch-from address, so that any branch record whose branch-from address is in the kernel is dropped when PERF_SAMPLE_BRANCH_USER is requested.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72237.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8910075d61a37e5b0d82e6c83ed9a0a31fe9ea08
Fixed
4f949bc3913a6e3ce3b8574ac6ed1da8ec7a5ad1
Fixed
ac44b4a3d6137489f8fa2e794b12e849c6b22eaa
Fixed
90843d00dbc61220b66408ea0d8775cae9e51f70
Fixed
046f6244da9b68e463a849b21446b9424e531491
Fixed
2e706be56f418718bb3ae66c0aa94f9b61150e6d
Fixed
47915e855fb38b42133e31ba917d99565f862154

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72237.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72237.json"