Re: [PATCH 5.11] io_uring: NULL files dereference by SQPOLL

Jens Axboe
2020-11-09T14:21:53Z

On 11/8/20 5:55 AM, Pavel Begunkov wrote:
> SQPOLL task may find sqo_task->files == NULL and
> __io_sq_thread_acquire_files() would leave it unset, so following
> fget_many() and others try to dereference NULL and fault. Propagate
> an error files are missing.

Applied, thanks.

--
Jens Axboe