diff options
| author | Jens Axboe <axboe@kernel.dk> | 2019-10-26 07:22:55 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2019-10-29 12:43:06 -0600 |
| commit | b7620121dc04e44ce654297050f9eaf39d414a34 (patch) | |
| tree | 6f6ea0f8c5c240d76678841d96c3df79244b2a5a /tools/perf/scripts/python | |
| parent | io_uring: add support for IORING_OP_ACCEPT (diff) | |
| download | linux-b7620121dc04e44ce654297050f9eaf39d414a34.tar.gz linux-b7620121dc04e44ce654297050f9eaf39d414a34.zip | |
io_uring: protect fixed file indexing with array_index_nospec()
We index the file tables with a user given value. After we check
it's within our limits, use array_index_nospec() to prevent any
spectre attacks here.
Suggested-by: Jann Horn <jannh@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
