Skip to content
Commit 4b70cf9d authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: ensure consistent view of original task ->mm from SQPOLL



Ensure we get a valid view of the task mm, by using task_lock() when
attempting to grab the original task mm.

Reported-by: default avatar <syzbot+b57abf7ee60829090495@syzkaller.appspotmail.com>
Fixes: 2aede0e4 ("io_uring: stash ctx task reference for SQPOLL")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fdaf083c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment