diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-05 17:02:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-13 20:45:17 +0300 |
commit | 7e6621b99d20f26f7355a7f266bebd6f5ce88693 (patch) | |
tree | 3e11ad80ffe0151f90e1c4adbbe57c8f64396fc7 /crypto | |
parent | b2173a8b64507f5be03c195614a491778e6963cc (diff) | |
download | linux-7e6621b99d20f26f7355a7f266bebd6f5ce88693.tar.xz |
io_uring/kbuf: check for buffer list readiness after NULL check
[ Upstream commit 9865346b7e8374b57f1c3ccacdc77846c6352ff4 ]
Move the buffer list 'is_ready' check below the validity check for
the buffer list for a given group.
Fixes: 5cf4f52e6d8a ("io_uring: free io_buffer_list entries via RCU")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions