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.
Published: 2026-07-29
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The bug occurs in the Linux kernel’s perf subsystem, where removing a perf event during exec can leave an event group in an inconsistent state. When the group leader event is removed, the kernel does not detach the remaining siblings, so the surviving events stay active with a stale group header. A later close of the removed event may promote those siblings back from the stale group state, and on the next schedule‑in the kernel can add an already linked active list entry again, corrupting the PMU context active list. This corruption causes a kernel fault, resulting in a crash or system instability. The flaw is a classic example of incorrect resource shutdown or release (CWE‑663).

Affected Systems

Linux kernel, any build that includes the perf subsystem before the patch that detaches group relationships during remove_on_exec. No specific version numbers are supplied in the advisory, so any current running kernel may be affected.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity of the issue, while the EPSS score of less than 1 % shows a very low likelihood that the vulnerability is actively exploited today. The flaw is not listed in the CISA KEV catalog, so there are no known active exploits. Attackers would need to create perf events that trigger remove_on_exec, which typically requires execution of user processes. With sufficient time and knowledge of the victim’s workload, a local attacker could trigger the corruption and cause a denial of service. Given the low EPSS value, the risk is considered moderate for most environments, but the potential for a kernel crash mandates prompt mitigation.

Generated by OpenCVE AI on August 2, 2026 at 08:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a build that includes the fix for detaching event groups during remove_on_exec.
  • Disable user‑space perf event access by setting the kernel perf_event_paranoid sysctl to a high value (e.g., 2) or disabling the perf subsystem entirely if possible.
  • Monitor system logs for kernel panics or oops related to performance events; investigate any crashes and ensure the system remains stable after applying the patch.

Generated by OpenCVE AI on August 2, 2026 at 08:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Thu, 30 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-663
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Wed, 29 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
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.
Title perf/core: Detach event groups during remove_on_exec
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T04:57:34.489Z

Reserved: 2026-07-19T15:36:31.796Z

Link: CVE-2026-64556

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-29T09:16:30.153

Modified: 2026-08-17T05:18:01.230

Link: CVE-2026-64556

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-29T00:00:00Z

Links: CVE-2026-64556 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:15:17Z

Weaknesses
  • CWE-663

    Use of a Non-reentrant Function in a Concurrent Context