diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-13 17:28:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-11 17:03:24 +0300 |
commit | 5611be6c3d9c7d0c49d3e868892b237ab4e5fc63 (patch) | |
tree | c711c253cb801ef840bc776d9a0604398656d57c /sound | |
parent | f1bd3414d97cb6be8fc0619d57947d2e0ea525ab (diff) | |
download | linux-5611be6c3d9c7d0c49d3e868892b237ab4e5fc63.tar.xz |
io_uring/rsrc: use nospec'ed indexes
[ Upstream commit 953c37e066f05a3dca2d74643574b8dfe8a83983 ]
We use array_index_nospec() for registered buffer indexes, but don't use
it while poking into rsrc tags, fix that.
Fixes: 634d00df5e1cf ("io_uring: add full-fledged dynamic buffers support")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f02fafc5a9c0dd69be2b0618c38831c078232ff0.1681395792.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions