]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4d73277497fb342a7e5e0cb0ec0615419b3970d
treeac84da6ebf30f721ed9fd75a8765d127dc73eaa3
parente0afa55952b403ed69a92d289d4f0249ee3e7679
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