CVE-2026-99187

perf: Fix perf_pmu_migrate_context() leaving events behind

State
Published
Severity
Not scored
Published
Oct 28, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bd27568117664b8b3e259721393df420ed51f57b to before 3caf006eb731e88cbb33fb5b7d1f2fdb23712bc7Affected
  • bd27568117664b8b3e259721393df420ed51f57b to before d4002e954c612dfc7e3fb5549e4a188ea281fe35Affected
  • bd27568117664b8b3e259721393df420ed51f57b to before 3eb08f09bfb364051f51316da873c3bd51a839efAffected
  • bd27568117664b8b3e259721393df420ed51f57b to before f5f0028764de322a3d04eda0d3b6389ca9847446Affected
  • bd27568117664b8b3e259721393df420ed51f57b to before e76b36b4be7160eaa14b416681e548b125702395Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.161 through 6.6.*Not affected
  • 6.12.115 through 6.12.*Not affected
  • 6.18.59 through 6.18.*Not affected
  • 7.2.13 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.