{"id":"CVE-2026-64556","aliases":["CVE-2026-64556"],"related":[],"kind":"vulnerability","state":"published","title":"perf/core: Detach event groups during remove_on_exec","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Detach event groups during remove_on_exec\n\nperf_event_remove_on_exec() removes events by calling\nperf_event_exit_event(). For top-level events, this removes the event from\nthe context with DETACH_EXIT only.\n\nThis can leave inconsistent group state when a removed event is a group\nleader and the group contains siblings without remove_on_exec. If the group\nwas active, the surviving siblings can remain active and attached to the\nremoved leader's sibling list, but are no longer represented by a valid\ngroup leader on the PMU context active lists.\n\nA later close of the removed leader uses DETACH_GROUP and can promote the\nstill-active siblings from this stale group state. The next schedule-in can\nthen add an already-linked active_list entry again, corrupting the PMU\ncontext active list.\n\nWith DEBUG_LIST enabled, this is caught as a list_add double-add in\nmerge_sched_in().\n\nFix this by detaching group relationships when remove_on_exec removes an\nevent. This preserves the existing task-exit and revoke behavior, while\nensuring surviving siblings are ungrouped before the removed event leaves\nthe context.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Detach event groups during remove_on_exec\n\nperf_event_remove_on_exec() removes events by calling\nperf_event_exit_event(). For top-level events, this removes the event from\nthe context with DETACH_EXIT only.\n\nThis can leave inconsistent group state when a removed event is a group\nleader and the group contains siblings without remove_on_exec. If the group\nwas active, the surviving siblings can remain active and attached to the\nremoved leader's sibling list, but are no longer represented by a valid\ngroup leader on the PMU context active lists.\n\nA later close of the removed leader uses DETACH_GROUP and can promote the\nstill-active siblings from this stale group state. The next schedule-in can\nthen add an already-linked active_list entry again, corrupting the PMU\ncontext active list.\n\nWith DEBUG_LIST enabled, this is caught as a list_add double-add in\nmerge_sched_in().\n\nFix this by detaching group relationships when remove_on_exec removes an\nevent. This preserves the existing task-exit and revoke behavior, while\nensuring surviving siblings are ungrouped before the removed event leaves\nthe context.","source":"cvelist"}],"published":"2026-07-29T08:01:46.864Z","modified":"2026-11-13T18:21:34.370Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-662"],"affected":[{"ranges":[{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"1d3e1102273f09180262496658e7eeed8a5a7b59","status":"affected"},{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"4cdb1b3ab96eb1b7eb70bc5c82fede334bd60df2","status":"affected"},{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"39358e856fb89e62e3c8d7389a2dc4ec33dbe90e","status":"affected"},{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"a2d5d3ee7b6e3953114726b1521e62123ab5b043","status":"affected"},{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"06ccef0434e98058ddae7bcebc901f93d22b7653","status":"affected"},{"type":"git","introduced":"2e498d0a74e5b88a6689ae1b811f247f91ff188e","fixed":"037a3c43edfb597665dd34457cd22b14692f2ba3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"6.1.191"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1d3e1102273f09180262496658e7eeed8a5a7b59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4cdb1b3ab96eb1b7eb70bc5c82fede334bd60df2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39358e856fb89e62e3c8d7389a2dc4ec33dbe90e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2d5d3ee7b6e3953114726b1521e62123ab5b043","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06ccef0434e98058ddae7bcebc901f93d22b7653","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/037a3c43edfb597665dd34457cd22b14692f2ba3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:42:33.956Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64556","url":"https://www.cve.org/CVERecord?id=CVE-2026-64556","licence":"CVE Terms of Use","modified":"2026-10-30T12:28:00.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64556","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64556","licence":"Public domain","modified":"2026-11-13T18:21:34.370Z"}],"updatedAt":"2026-11-25T22:59:30.416Z","epss":{"score":0.00162,"percentile":0.05622,"date":"2026-12-01T12:00:22.000Z"}}