]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "io_uring: don't take fs for recvmsg/sendmsg"
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 19:37:58 +0000 (12:37 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 19:37:58 +0000 (12:37 -0700)
commit269b2b992793a0e9fab0a966709dec1d7c7e3a14
tree3c21436557ed92c0dbaf8d03d772f527c0817c85
parentd675343c612b873c3908d50a46c83df5282d1a58
Revert "io_uring: don't take fs for recvmsg/sendmsg"

This reverts commit 47bee08e4a70701c954c0ce8dcd35b09531a75d9.

Petr reports that with this commit in place, io_uring fails the chroot
test (CVE-202-29373). We do need to retain ->fs for send/recvmsg, so
revert this commit.

Reported-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c