aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-11-04 12:02:47 +0000
committerJens Axboe <axboe@kernel.dk>2024-11-06 13:55:38 -0700
commit483242714fcc853f3f5ef728116f5ec168468bca (patch)
tree24a767685e4efe76288d6a6be63e630afee2a12c /rust/helpers/task.c
parentb6f58a3f4aa8dba424356c7a69388a81f4459300 (diff)
downloadlinux-483242714fcc853f3f5ef728116f5ec168468bca.tar.gz
linux-483242714fcc853f3f5ef728116f5ec168468bca.tar.bz2
linux-483242714fcc853f3f5ef728116f5ec168468bca.zip
io_uring: prevent speculating sq_array indexing
The SQ index array consists of user provided indexes, which io_uring then uses to index the SQ, and so it's susceptible to speculation. For all other queues io_uring tracks heads and tails in kernel, and they shouldn't need any special care. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/c6c7a25962924a55869e317e4fdb682dfdc6b279.1730687889.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions