A system hang vulnerability in the Linux kernel's perf subsystem was fixed. The issue was caused by the cpu-clock usage in the async-profiler tool, which triggered a deadlock due to recursive calls within the hrtimer handler. The fix involved changing the hrtimer cancellation method and setting a flag to safely stop the event.