]> 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)
commita19201c3866123f82b2770db5ace7b03e764b9d3
treeac84da6ebf30f721ed9fd75a8765d127dc73eaa3
parent8b46902aeddaed73f82810604da148fd7e98894b
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