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.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <132bee76097be421ab3012130b5b506324cf2be1 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <2581b43e162cfc43e6f5d8dd8d2b38f3441550de [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <6e187281f978a2bff98ead6aa40f8ddc9a2c9afb [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f [affected]; 0 to <6.12.113 [affected]; 0 to <6.18.56 [affected]; 0 to <7.2.10 [affected]
LinuxLinux6.12.113 to <=6.12.* [unaffected]; 6.18.56 to <=6.18.* [unaffected]; 7.2.10 to <=7.2.* [unaffected]; 7.3 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 24 Oct 2026 07:01 UTC.