io_uring: validate timespec for timeout removals
authorYe Bin <yebin10@huawei.com>
Mon, 29 Nov 2021 04:15:37 +0000 (12:15 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:46:39 +0000 (06:46 -0700)
commit2087009c74d41ab8579f08157bca55b7d0857ee5
tree3e4d11d26b1b72e758c6292bee83b928f1856ca3
parentb6c7db32183251204f124b10d6177d46558ca7b8
io_uring: validate timespec for timeout removals

Like commit f6223ff79966, timeout removal should also validate the
timespec that is being passed in.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20211129041537.1936270-1-yebin10@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c