diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-11-02 10:39:05 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-04 10:22:57 -0700 |
commit | 4b70cf9dea4cd239b425f3282fa56ce19e234c8a (patch) | |
tree | 9526725d90a8add9b5d5547a81100d01b2f1cb61 /drivers/fpga/zynq-fpga.c | |
parent | fdaf083cdfb556a45c422c8998268baf1ab26829 (diff) |
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: syzbot+b57abf7ee60829090495@syzkaller.appspotmail.com
Fixes: 2aede0e417db ("io_uring: stash ctx task reference for SQPOLL")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions