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: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized kernel callchain disclosure
Action: Apply Patch
AI Analysis

Impact

The Linux kernel perf subsystem has a flaw that allows an unprivileged user to collect kernel callchain information by calling perf_event_open with attr.exclude_callchain_kernel set to 0 while attr.exclude_kernel remains 1. Because the existing permission check perf_allow_kernel is applied only when attr.exclude_kernel is false, the second check is bypassed, permitting retrieval of kernel stack traces without the necessary kernel profiling privilege. This represents improper access control, classified as CWE-497, and can expose kernel memory contents and internal state.

Affected Systems

All publicly available releases of the Linux kernel that include the perf_event_open implementation are affected. The vendor list indicates it applies to any environment running the Linux kernel; no specific version qualifiers are provided, so all current kernel releases containing this code path are potentially impacted until the fix is deployed.

Risk and Exploitability

The CVSS score of 3.3 and an EPSS score of less than 1% indicate a low severity and a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need local access to invoke perf_event_open; the flaw does not require elevated privileges. Once a user can open the event, they can obtain kernel callchains, which could aid in further analysis of the system. Despite the potential for information disclosure, the overall risk is considered low for most environments due to the low severity metrics and the local‑execution requirement.

Generated by OpenCVE AI on October 29, 2026 at 23:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that contains the fix, which updates perf_event_open to enforce perf_allow_kernel for kernel callchains.
  • For environments where a kernel update is not immediately possible, reduce kernel profiling visibility to unprivileged users by setting sysctl kernel.perf_event_paranoid to 2, which blocks kernel callchain collection for non‑privileged users.
  • Use mandatory access control frameworks such as SELinux or AppArmor to restrict perf_event_open calls to trusted users or processes, thereby preventing unauthorized usage of the API.

Generated by OpenCVE AI on October 29, 2026 at 23:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History

Thu, 29 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-497
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low


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

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

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 Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-26T06:56:51.396Z

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-26T07:17:17.870

Link: CVE-2026-98937

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-23T12:11:53Z

Links: CVE-2026-98937 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T23:15:05Z

Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere