Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: ensure consistent view of original task ->mm from SQPOLL
[ Upstream commit 4b70cf9 ] Ensure we get a valid view of the task mm, by using task_lock() when attempting to grab the original task mm. Reported-by: syzbot+b57abf7ee60829090495@syzkaller.appspotmail.com Fixes: 2aede0e ("io_uring: stash ctx task reference for SQPOLL") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information