UPSTREAM: io_uring: check for valid register opcode earlier
[ Upstream commit 34319084 ] We only check the register opcode value inside the restricted ring section, move it into the main io_uring_register() function instead and check it up front. Change-Id: I187b2979aab62484e2a169c882fb3c1ed853ba3e Signed-off-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit f9309dca) Bug: 268174392 Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Loading
Please sign in to comment