CVE-2026-99187

Source
https://cve.org/CVERecord?id=CVE-2026-99187
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99187.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99187
Downstream
Published
2026-10-28T10:35:44Z
Modified
2026-11-01T02:30:49Z
Summary
perf: Fix perf_pmu_migrate_context() leaving events behind
Details

In the Linux kernel, the following vulnerability has been resolved:

perf: Fix perf_pmu_migrate_context() leaving events behind

__perf_pmu_remove() walks the group leaders of a CPU and PMU with perf_event_groups_for_cpu_pmu(), removing each one as it goes. perf_remove_from_context() takes the leader out of the groups rbtree, after which rb_next() on that node returns NULL, prematurely ending the walk. Other groups stay behind in the source context.

On CPU hotplug, they are then torn down with the dying CPU. They keep running until teardown, while the PMU's interrupt and migrated events are on a new CPU, which drivers rely on never happening.

Walk ctx->event_list instead and pick out the PMU's events by their pmu_ctx.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99187.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
bd27568117664b8b3e259721393df420ed51f57b
Fixed
3caf006eb731e88cbb33fb5b7d1f2fdb23712bc7
Fixed
d4002e954c612dfc7e3fb5549e4a188ea281fe35
Fixed
3eb08f09bfb364051f51316da873c3bd51a839ef
Fixed
f5f0028764de322a3d04eda0d3b6389ca9847446
Fixed
e76b36b4be7160eaa14b416681e548b125702395

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.161
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.115
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.59
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.13

Database specific

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