Linux
perf: Ensure swevent hrtimer is properly destroyed
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= eb3182ef0405ff2f6668fd3e5ff9883f60ce8801, < deee9dfb111ab00f9dfd46c0c7e36656b80f5235
- >= eb3182ef0405ff2f6668fd3e5ff9883f60ce8801, < ff5860f5088e9076ebcccf05a6ca709d5935cfa9
- 6b8c512811644cf2f5eaf6f44e928683c54127f0
- >= 6.17.8, < 6.18
Fixed in deee9dfb111ab00f9dfd46c0c7e36656b80f5235, ff5860f5088e9076ebcccf05a6ca709d5935cfa9, 6.18
- 6.18
Fixed in 0, 6.18.6, 6.19
Mitigation
Upgrade Linux to deee9dfb111ab00f9dfd46c0c7e36656b80f5235 or ff5860f5088e9076ebcccf05a6ca709d5935cfa9 or 6.18 or later.
Upgrade Linux to 0 or 6.18.6 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.