io_uring/kbuf: check for buffer list readiness after NULL check
[ Upstream commit 9865346b ] Move the buffer list 'is_ready' check below the validity check for the buffer list for a given group. Fixes: 5cf4f52e ("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>
parent
b2173a8b
Please register or sign in to comment