linux/fs/io_uring.c
Jens Axboe 03105a24cd io_uring: add IOPOLL and reserved field checks to IORING_OP_UNLINKAT
commit 22634bc562 upstream.

We can't support IOPOLL with non-pollable request types, and we should
check for unused/reserved fields like we do for other request types.

Fixes: 14a1143b68 ("io_uring: add support for IORING_OP_UNLINKAT")
Cc: stable@vger.kernel.org
Reported-by: Dmitry Kadashev <dkadashev@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-14 17:07:50 +02:00

10215 lines
250 KiB