io_uring: validate timespec for timeout removals

Like commit f6223ff799, 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>
This commit is contained in:
Ye Bin 2021-11-29 12:15:37 +08:00 • committed by Jens Axboe
commit 2087009c74