diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-01-20 17:38:06 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-20 17:49:34 +0100 |
commit | 8579538c89e33ce78be2feb41e07489c8cbf8f31 (patch) | |
tree | d609c121d5a9eaf5187d772567d1c08c1365928b /drivers/input/keyboard/lm8333.c | |
parent | io_uring/msg_ring: fix flagging remote execution (diff) | |
download | linux-8579538c89e33ce78be2feb41e07489c8cbf8f31.tar.xz linux-8579538c89e33ce78be2feb41e07489c8cbf8f31.zip |
io_uring/msg_ring: fix remote queue to disabled ring
IORING_SETUP_R_DISABLED rings don't have the submitter task set, so
it's not always safe to use ->submitter_task. Disallow posting msg_ring
messaged to disabled rings. Also add task NULL check for loosy sync
around testing for IORING_SETUP_R_DISABLED.
Cc: stable@vger.kernel.org
Fixes: 6d043ee1164ca ("io_uring: do msg_ring in target task via tw")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/input/keyboard/lm8333.c')
0 files changed, 0 insertions, 0 deletions