commit | 9c280f9087118099f50566e906b9d9d5a0fb4529 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Apr 08 08:58:46 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 08 09:26:51 2020 -0600 |
tree | d3554b855fc22b0c0caa3bf3ff478ebf2db90d27 | |
parent | 0553b8bda8709c47863eab3fff7ac32ad04ca52b [diff] |
io_uring: don't read user-shared sqe flags twice Don't re-read userspace-shared sqe->flags, it can be exploited. sqe->flags are copied into req->flags in io_submit_sqe(), check them there instead. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>