Skip to main content
← All vulnerabilities
CVE-2026-99187EUVD-2026-111939GHSA-29RH-RVQR-JRPJ

perf: Fix perf_pmu_migrate_context() leaving events behind

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.59, 7.2.13
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    6.2

  • KernelLinux

    From 6.2.0 · fixed in 6.18.59; From 6.19.0 · fixed in 7.2.13

References 5

git.kernel.org