Linux kernel perf_pmu_migrate_context event cleanup
CVE-2026-99187 Published on October 28, 2026
perf: Fix perf_pmu_migrate_context() leaving events behind
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.
Products Associated with CVE-2026-99187
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version bd27568117664b8b3e259721393df420ed51f57b and below 3eb08f09bfb364051f51316da873c3bd51a839ef is affected.
- Version bd27568117664b8b3e259721393df420ed51f57b and below f5f0028764de322a3d04eda0d3b6389ca9847446 is affected.
- Version bd27568117664b8b3e259721393df420ed51f57b and below e76b36b4be7160eaa14b416681e548b125702395 is affected.
- Version 6.2 is affected.
- Before 6.2 is unaffected.
- Version 6.18.59, <= 6.18.* is unaffected.
- Version 7.2.13, <= 7.2.* is unaffected.
- Version 7.3, <= * is unaffected.