CVE-2026-98937

Source
https://cve.org/CVERecord?id=CVE-2026-98937
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98937.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-98937
Downstream
Published
2026-10-23T12:11:53Z
Modified
2026-10-28T02:35:34Z
Summary
perf/core: Check kernel access when kernel callchains are requested
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98937.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0764771dab80d7b84b9a271bee7f1b21a04a3f0c
Fixed
132bee76097be421ab3012130b5b506324cf2be1
Fixed
2581b43e162cfc43e6f5d8dd8d2b38f3441550de
Fixed
6e187281f978a2bff98ead6aa40f8ddc9a2c9afb
Fixed
a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98937.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.31
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98937.json"