diff options
| author | 2021-07-26 14:14:31 +0100 | |
|---|---|---|
| committer | 2021-07-26 08:58:04 -0600 | |
| commit | 44eff40a32e8f5228ae041006352e32638ad2368 (patch) | |
| tree | 4cf9efc5d01517033f807345b27674e137fba238 /lib/mpi/mpi-div.c | |
| parent | io_uring: explicitly catch any illegal async queue attempt (diff) | |
| download | wireguard-linux-44eff40a32e8f5228ae041006352e32638ad2368.tar.xz wireguard-linux-44eff40a32e8f5228ae041006352e32638ad2368.zip | |
io_uring: fix io_prep_async_link locking
io_prep_async_link() may be called after arming a linked timeout,
automatically making it unsafe to traverse the linked list. Guard
with completion_lock if there was a linked timeout.
Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/93f7c617e2b4f012a2a175b3dab6bc2f27cebc48.1627304436.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions
