CVE-2026-64556

perf/core: Detach event groups during remove_on_exec

State
Published
Severity
7.8 High
Published
Jul 29, 2026
Updated
Oct 30, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

perf/core: Detach event groups during remove_on_exec

perf_event_remove_on_exec() removes events by calling perf_event_exit_event(). For top-level events, this removes the event from the context with DETACH_EXIT only.

This can leave inconsistent group state when a removed event is a group leader and the group contains siblings without remove_on_exec. If the group was active, the surviving siblings can remain active and attached to the removed leader's sibling list, but are no longer represented by a valid group leader on the PMU context active lists.

A later close of the removed leader uses DETACH_GROUP and can promote the still-active siblings from this stale group state. The next schedule-in can then add an already-linked active_list entry again, corrupting the PMU context active list.

With DEBUG_LIST enabled, this is caught as a list_add double-add in merge_sched_in().

Fix this by detaching group relationships when remove_on_exec removes an event. This preserves the existing task-exit and revoke behavior, while ensuring surviving siblings are ungrouped before the removed event leaves the context.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before 1d3e1102273f09180262496658e7eeed8a5a7b59Affected
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before 4cdb1b3ab96eb1b7eb70bc5c82fede334bd60df2Affected
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before 39358e856fb89e62e3c8d7389a2dc4ec33dbe90eAffected
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before a2d5d3ee7b6e3953114726b1521e62123ab5b043Affected
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before 06ccef0434e98058ddae7bcebc901f93d22b7653Affected
  • 2e498d0a74e5b88a6689ae1b811f247f91ff188e to before 037a3c43edfb597665dd34457cd22b14692f2ba3Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 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.