1-2 put some limits on the fixed file tables sizes, files and
buffers.
3/3 adds compatibility checks for ->splice_fd_in, for all requests
buy rw and some others, see the patch message.
All based on 5.15 and merked stable, looks to me as the best way.
Pavel Begunkov (3):
io_uring: limit fixed table size by RLIMIT_NOFILE
io_uring: place fixed tables under memcg limits
io_uring: add ->splice_fd_in checks
fs/io_uring.c | 61 ++++++++++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 25 deletions(-)
--
2.32.0