io-event is vulnerable to Use After Free
55
CVE Score
Medium
Use After Free
Cancelling io_wait or process_wait on io-event's URing selector submits a cancel SQE that still points at the in-flight completion, then io_wait_ensure or process_wait_ensure detaches the waiter before the original operation completion is observed. IO_Event_Selector_URing_Completion_cancellation_complete then recycles that record onto the free list because waiting is already null, so a new operation can reuse it. The stale completion writes the new waiter's result and can resume the wrong fiber, crashing the process or mixing up another wait. The fix records operation_pending and recycles the completion only after both the operation and cancellation completions have been processed.
Upgrade the io-event library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the process uses the URing selector (chosen when io_uring support was compiled in) and cancels io_wait or process_wait.
1.20.0 - 1.21.0
Fixed in 1.21.1io-event is vulnerable to Use After Free in versions 1.20.0 - 1.21.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.