7.8

CVE-2026-64556

perf/core: Detach event groups during remove_on_exec

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version 2e498d0a74e5b88a6689ae1b811f247f91ff188e
Version < 4cdb1b3ab96eb1b7eb70bc5c82fede334bd60df2
Status affected
Version 2e498d0a74e5b88a6689ae1b811f247f91ff188e
Version < 39358e856fb89e62e3c8d7389a2dc4ec33dbe90e
Status affected
Version 2e498d0a74e5b88a6689ae1b811f247f91ff188e
Version < a2d5d3ee7b6e3953114726b1521e62123ab5b043
Status affected
Version 2e498d0a74e5b88a6689ae1b811f247f91ff188e
Version < 06ccef0434e98058ddae7bcebc901f93d22b7653
Status affected
Version 2e498d0a74e5b88a6689ae1b811f247f91ff188e
Version < 037a3c43edfb597665dd34457cd22b14692f2ba3
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 5.13
Status affected
Version 0
Version < 5.13
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.96
Status unaffected
Version <= 6.18.*
Version 6.18.39
Status unaffected
Version <= 7.1.*
Version 7.1.4
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.022
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/4cdb1b3ab96eb1b7eb70bc5c82fede334bd60df2
https://git.kernel.org/stable/c/39358e856fb89e62e3c8d7389a2dc4ec33dbe90e
https://git.kernel.org/stable/c/a2d5d3ee7b6e3953114726b1521e62123ab5b043
https://git.kernel.org/stable/c/06ccef0434e98058ddae7bcebc901f93d22b7653
https://git.kernel.org/stable/c/037a3c43edfb597665dd34457cd22b14692f2ba3