All reports
Low

kernel: perf: Ensure swevent hrtimer is properly destroyed

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-23014

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: perf: Ensure swevent hrtimer is properly destroyed With the change to hrtimer_try_to_cancel() in perf_swevent_cancel_hrtimer() it appears possible for the hrtimer to still be active by the time the event gets freed. Make sure the event does a full hrtimer_cancel() on the free path by installing a perf_event::destroy handler.

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.