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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-10-23T12:11:53.327Z
- Modified: 2026-10-26T07:17:17.870Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c before 132bee76097be421ab3012130b5b506324cf2be1; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c before 2581b43e162cfc43e6f5d8dd8d2b38f3441550de; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c before 6e187281f978a2bff98ead6aa40f8ddc9a2c9afb; from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c before a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f; 2.6.31 (not affected: before 2.6.31; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

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

## Sources

- CVE List: [CVE-2026-98937](https://www.cve.org/CVERecord?id=CVE-2026-98937), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2026-98937](https://nvd.nist.gov/vuln/detail/CVE-2026-98937), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-98937 · Whole record: https://cve.day/CVE-2026-98937.json · Rebuilt by cve.day 2026-11-25T22:59:46.916Z
