[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5e5e1bb9-c5d3-d668-8a61-f70538ef92df@kernel.dk>
Date: Fri, 3 Sep 2021 06:16:53 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Colin King <colin.king@...onical.com>,
Pavel Begunkov <asml.silence@...il.com>,
io-uring@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] io_uring: Fix a read of ununitialized pointer tctx
On 9/3/21 5:35 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> In the unlikely case where ctx->flags & IORING_SETUP_SQPOLL is true
> and sqd is NULL the pointer tctx is not assigned a valid value and
> can contain a garbage value when it is dereferenced. Fix this by
> initializing it to NULL.
Doh - thanks, I folded this one in.
--
Jens Axboe
Powered by blists - more mailing lists