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

Summary

CVECVE-2026-98937
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-23 13:17:14 UTC
Updated2026-10-26 07:17:17 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0764771dab80d7b84b9a271bee7f1b21a04a3f0c 132bee76097be421ab3012130b5b506324cf2be1 git Not specified
CNA Linux Linux affected 0764771dab80d7b84b9a271bee7f1b21a04a3f0c 2581b43e162cfc43e6f5d8dd8d2b38f3441550de git Not specified
CNA Linux Linux affected 0764771dab80d7b84b9a271bee7f1b21a04a3f0c 6e187281f978a2bff98ead6aa40f8ddc9a2c9afb git Not specified
CNA Linux Linux affected 0764771dab80d7b84b9a271bee7f1b21a04a3f0c a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f git Not specified
CNA Linux Linux affected 2.6.31 Not specified
CNA Linux Linux unaffected 2.6.31 semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.56 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.10 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2581b43e162cfc43e6f5d8dd8d2b38f3441550de 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6e187281f978a2bff98ead6aa40f8ddc9a2c9afb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/132bee76097be421ab3012130b5b506324cf2be1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report