summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-01-20 19:38:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-01 10:34:35 +0300
commitc932501bc232985f2c5580f52cc9a799e168900b (patch)
treeebd9409248e1d308694d9ceba3c204d2b8975c1b /net/mac80211
parent3964b0c2e843334858da99db881859faa4df241d (diff)
downloadlinux-c932501bc232985f2c5580f52cc9a799e168900b.tar.xz
io_uring/msg_ring: fix remote queue to disabled ring
commit 8579538c89e33ce78be2feb41e07489c8cbf8f31 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions