CVE-2026-99187

perf: Fix perf_pmu_migrate_context() leaving events behind

Published Oct 28, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, the perf subsystem contains a flaw that causes the function perf_pmu_migrate_context() to leave performance monitoring unit (PMU) events behind when a CPU is hot‑plugged. The removal routine walks a group leader list and incorrectly drops the pointer to later events, leaving them in the source context. These orphaned events continue to run until the dying CPU is torn down, while the PMU’s interrupt and migrated events are now on a new CPU. Drivers assume that events are not left on a different CPU, so the symptom is a failure or instability in drivers, ultimately resulting in a denial‑of‑service condition. The weakness is a pointer handling error (CWE‑459).

Affected Systems

All Linux kernel releases incorporating the perf subsystem prior to the commit that introduced the fix are affected. Any system running those kernel versions that performs CPU hot‑plug operations exposes its PMU events to the described behavior. The fix is included in kernel releases published after the commit date referenced in the advisory.

Risk and Exploitability

The vulnerability is local; it requires interaction with the perf subsystem typically available to privileged users. Based on the description, it is inferred that the privilege requirement is local. No publicly known remote exploitation technique exists, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score of <1% indicates a very low probability of exploitation, while the CVSS score of 4.7 reflects low severity. Although public exploits are not available, the bug can still cause significant disruption by sustaining driver activity until system teardown, warranting prompt mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the perf_pmu_migrate_context fix
  • Reboot the system or unload and reload the affected kernel modules to activate the clean kernel state
  • Monitor kernel logs for PMU event‑related errors after CPU hot‑plug operations

Generated by OpenCVE AI on November 2, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-459
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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.
Title perf: Fix perf_pmu_migrate_context() leaving events behind
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM