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.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Unauthorized kernel callchain disclosure and potential privilege escalation
Action: Assess Impact
AI Analysis

Impact

The flaw in the Linux kernel’s perf subsystem permits an unprivileged user to request kernel callchain data by calling perf_event_open with attr.exclude_callchain_kernel set to 0 while attr.exclude_kernel remains 1. Because the kernel does not enforce the perf_allow_kernel check for this request, the caller gains access to kernel stack traces. This unauthorized access could expose sensitive kernel memory contents, internals, or reveal vulnerabilities that can be leveraged for privilege escalation.

Affected Systems

The issue affects the Linux kernel across all versions for which the specific code path exists. Vendors listed include Linux:Linux. No version qualifiers are supplied, so all current releases are potentially impacted until the fix is applied.

Risk and Exploitability

The CVSS score is not available, and the EPSS is not disclosed; the vulnerability is not currently in the CISA KEV catalog. Attackers would need local access to open a perf event; if they can do so, they can obtain kernel callchains without the required kernel profiling privilege. The lack of a required privilege check, coupled with the ability to read kernel stack traces, makes it a serious information‑disclosure and potential privilege‑escalation vector. During risk assessment, consider the likelihood of local exploitation and the sensitivity of the data that could be exposed.

Generated by OpenCVE AI on October 23, 2026 at 14:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel release that incorporates the fix, which updates the permission check in perf_event_open to enforce perf_allow_kernel for kernel callchains.
  • Until an update can be applied, restrict kernel callchain access by setting the sysctl value kernel.perf_event_paranoid to 2, which disables kernel profiling for non‑privileged users.
  • Configure security modules such as SELinux or AppArmor to allow perf_event_open only for trusted users or processes, preventing malicious use of the API.
  • Monitor system logs and perf_event usage for abnormal activity; consider auditing calls to perf_event_open and disabling the perf subsystem if not required.

Generated by OpenCVE AI on October 23, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title perf/core: Check kernel access when kernel callchains are requested
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:11:53.327Z

Reserved: 2026-09-25T10:25:14.381Z

Link: CVE-2026-98937

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:14.613

Modified: 2026-10-23T13:17:14.613

Link: CVE-2026-98937

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:45:17Z

Weaknesses