diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-03-29 15:03:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-29 09:23:46 -0600 |
commit | 4ff0b50de8cabba055efe50bbcb7506c41a69835 (patch) | |
tree | d29a66b03328ba5b6707ea46e762de75c30979fc /io_uring/kbuf.c | |
parent | 005308f7bdacf5685ed1a431244a183dbbb9e0e8 (diff) |
io_uring/rsrc: fix rogue rsrc node grabbing
We should not be looking at ctx->rsrc_node and anyhow modifying the node
without holding uring_lock, grabbing references in such a way is not
safe either.
Cc: stable@vger.kernel.org
Fixes: 5106dd6e74ab6 ("io_uring: propagate issue_flags state down to file assignment")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1202ede2d7bb90136e3482b2b84aad9ed483e5d6.1680098433.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/kbuf.c')
0 files changed, 0 insertions, 0 deletions