mirror of
https://github.com/boostorg/asio.git
synced 2026-02-22 13:42:08 +00:00
The value of user_data in a submission queue entry is only initialized with with the ring itself, remaining unchanged after use and even through calls to io_uring_get_sqe(3). Many submission paths apply io_uring_sqe_set_data(3) but the remainder are submitted with stale values that can apply completion operations on the wrong queues with the wrong results, causing obscure bugs.