linux/io_uring/zcrx.c
Pavel Begunkov 857473efe9 io_uring/zcrx: use READ_ONCE with user shared RQEs
commit 531bb98a03 upstream.

Refill queue entries are shared with the user space, use READ_ONCE when
reading them.

Fixes: 34a3e60821 ("io_uring/zcrx: implement zerocopy receive pp memory provider");
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-03-19 16:08:37 +01:00

1271 lines
29 KiB