io_uring fixes for 5.6-rc
Jens Axboe
maintainerHi Linus,
Two different fixes in here:
- Fix for a potential NULL pointer deref for links with async or drain marked (Pavel)
- Fix for not properly checking RLIMIT_NOFILE for async punted operations. This affects openat/openat2, which were added this cycle, and accept4. I did a full audit of other cases where we might check current->signal->rlim[] and found only RLIMIT_FSIZE for buffered writes and fallocate. That one is fixed and queued for 5.7 and marked stable.
Please pull!
git://git.kernel.dk/linux-block.git tags/io_uring-5.6-20200320
----------------------------------------------------------------
Jens Axboe (2):
io_uring: make sure openat/openat2 honor rlimit nofile
io_uring: make sure accept honor rlimit nofile
Pavel Begunkov (1):
io_uring: NULL-deref for IOSQE_{ASYNC,DRAIN}fs/file.c | 7 ++++++- fs/io_uring.c | 18 ++++++++++++++++-- include/linux/file.h | 1 + include/linux/socket.h | 3 ++- net/socket.c | 8 +++++--- 5 files changed, 30 insertions(+), 7 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Sat, 21 Mar 2020 12:38:34 -0600:
The pull request you sent on Sat, 21 Mar 2020 12:38:34 -0600:
Quoted 1 line
git://git.kernel.dk/linux-block.gittags/io_uring-5.6-20200320
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1ab7ea1f83d16489142bcfa1b7670ac7ca86cd81
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker