Technical impact
The vulnerability is a use‑after‑free flaw in the Linux kernel’s perf subsystem. In attach_task_ctx_data(), the operator cmpxchg executes without holding an RCU read lock, allowing a concurrent detach_task_ctx_data() to free the same struct perf_ctx_data that is still referenced by the attaching task. This race results in freeing an object that is still in use, leading to use‑after‑free and subsequent memory corruption. An attacker who can trigger concurrent attach and detach operations could corrupt kernel memory, which may enable arbitrary code execution with kernel privileges or cause a system crash.
Affected Systems
The affected system is the Linux kernel itself. No specific vendor or version list is supplied in the CVE data, but the issue exists in any Linux kernel build that includes the unpatched attach_task_ctx_data() function. The fix is applied through a patch in the upstream kernel source, referenced by commit identifiers in the provided links.
Risk and Exploitability
Because the CVSS and EPSS scores are not included, an exact severity cannot be quoted, but a use‑after‑free in kernel code is generally considered high to critical. The vulnerability can be exploited only in contexts where an attacker can influence kernel operations, such as local privilege escalation or code injection. It is not listed in the CISA KEV catalog, and no public exploit has been documented. Attacks would likely require a privileged or local attacker or a failure in isolation between user and kernel space. The primary mitigation is to update to a kernel that incorporates the patch.