io_uring: validate the full range of provided buffers for access
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Fri, 5 Jun 2020 01:01:52 +0000 (18:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Jun 2020 15:39:13 +0000 (09:39 -0600)
commitefe68c1ca8f49e8c06afd74b699411bfbb8ba1ff
treeac84da6ebf30f721ed9fd75a8765d127dc73eaa3
parentdddb3e26f6d88c5344d28cb5ff9d3d6fa05c4f7a
io_uring: validate the full range of provided buffers for access

Account for the number of provided buffers when validating the address
range.

Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c