Race condition In linux

Description

A use-after-free vulnerability was found in the Linux kernel's perf subsystem. When freeing a software event (swevent), the hrtimer used for sampling may still be active because perf_swevent_cancel_hrtimer() uses hrtimer_try_to_cancel() which can fail if the timer is currently executing. This leaves a dangling reference that can cause a use-after-free when the timer fires after the event structure is freed.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions