perf/core: Check kernel access when kernel callchains are requested
Exact source revision recorded 26 Oct 2026 08:20:49 UTC. It does not establish the source's current position. Latest evidence.
cve-program · CVE-2026-98937
PublishedIn 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.
- Source published
- 23 Oct 2026 12:11:53 UTC
- Source modified
- 26 Oct 2026 06:56:51 UTC
- Observed here
- 26 Oct 2026 08:20:49 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.