In the Linux kernel, the following vulnerability has been resolved: perf/core: Check kernel access when kernel callchains are requested… (CVE-2026-98937)
Description
A vulnerability in the Linux kernel's perf subsystem allowed users with kernel profiling privileges to bypass intended permission checks when requesting kernel callchain data. The flaw was due to an incomplete permission check that did not enforce kernel profiling privilege for kernel callchain collection when kernel sampling was excluded. This issue has been resolved by updating the permission checks to properly gate kernel callchain requests, preventing unprivileged access.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's perf_event_open() function previously enforced permission checks for kernel profiling only when kernel sampling was requested (attr.exclude_kernel == 0). However, users could still request kernel callchain collection (attr.exclude_callchain_kernel == 0) even if kernel sampling was excluded (attr.exclude_kernel == 1), bypassing the intended permission check. This vulnerability allowed users with kernel profiling privileges to collect kernel callchain data without proper enforcement of permissions. The fix updates the permission check to call perf_allow_kernel() when either kernel sampling or kernel callchains are requested, aligning permission enforcement with the requested data and preventing unprivileged kernel callchain capture.
Potential Impact
Unprivileged users with kernel profiling privileges could bypass permission checks to collect kernel callchain data, potentially exposing sensitive kernel execution information. This could aid in further attacks or information disclosure within the kernel environment. The vulnerability affects the integrity of kernel profiling access controls.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to update the permission checks for kernel callchain requests. Users should apply the official kernel update that includes this fix to ensure proper enforcement of kernel profiling privileges. Patch status is not explicitly stated in the provided data; therefore, check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5cg4-h7ff-5xr5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98937"]
Threat ID: 6adbaad0d73cc49347b205a6
Added to database: 10/23/2026, 18:43:28 UTC
Last enriched: 10/23/2026, 19:01:25 UTC
Last updated: 10/23/2026, 21:25:08 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.