Exploit database

Vulnerability

CVE-2026-98937

perf/core: Check kernel access when kernel callchains are requested

Vulnerability details

Score
Not available
Severity
Not available

Vector string

Not available

Description

In the Linux kernel, the following vulnerability has been resolved: perf/core: Check kernel access when kernel callchains are requested perf_event_open() currently gates perf_allow_kernel() only on !attr.exclude_kernel. However, users can still request kernel callchain collection with attr.exclude_callchain_kernel == 0 even when attr.exclude_kernel == 1. That still requires kernel profiling privilege, but the existing check does not enforce it. Update the permission check to call perf_allow_kernel() when either kernel sampling is requested or kernel callchains are requested. This keeps permission checks aligned with requested data and prevents unprivileged use of kernel callchain capture.

CVE Program

Exploit source choices

1 source
woshigenm/cve-2026-98937
GH-9337d78626d787697719e1d3ac2c9873GitHubUnofficial GitHub sourcePreferred

CVE-2026-98937 — perf_event_open permission bypass on Android arm64: exclude_kernel=1 plus kernel callchains skips perf_allow_kernel(), leaking kernel stack frames and the KASLR slide. Analysis, verified PoC and pre-check; information leak only, no LPE.

2026-10-3112 files · 8 stars