CVE-2026-98937
perf/core: Check kernel access when kernel callchains are requested
Check your servers for CVE-2026-98937
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98937 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.25% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, before 132bee76097be421ab3012130b5b506324cf2be1 affected from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, before 2581b43e162cfc43e6f5d8dd8d2b38f3441550de affected from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, before 6e187281f978a2bff98ead6aa40f8ddc9a2c9afb affected from 0764771dab80d7b84b9a271bee7f1b21a04a3f0c, before a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f
Other versions: unaffected
|
| Linux |
affected 2.6.31 unaffected before 2.6.31 unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98937 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98937
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98937
trivy image --scanners vuln IMAGE | grep CVE-2026-98937
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/132bee76097be421ab3012130b5b506324cf2be1 git.kernel.org
- https://git.kernel.org/stable/c/2581b43e162cfc43e6f5d8dd8d2b38f3441550de git.kernel.org
- https://git.kernel.org/stable/c/6e187281f978a2bff98ead6aa40f8ddc9a2c9afb git.kernel.org
- https://git.kernel.org/stable/c/a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f git.kernel.org
Source: the record CVE-2026-98937 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse