Skip to content
Commit 91f5a60a authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Greg Kroah-Hartman
Browse files

io_uring: fix races with buffer table unregister

[ Upstream commit d11d31fc

 ]

Fixed buffer table quiesce might unlock ->uring_lock, potentially
letting new requests to be submitted, don't allow those requests to
use the table as they will race with unregistration.

Reported-and-tested-by: default avatarvan fantasy <g1042620637@gmail.com>
Fixes: bd54b6fe

 ("io_uring: implement fixed buffers registration similar to fixed files")
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b1e7cade
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment