[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ce16729c-01c6-7ce8-6c06-c43439186683@kernel.dk>
Date: Thu, 3 Jun 2021 09:54:45 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Colin King <colin.king@...onical.com>,
Damien Le Moal <damien.lemoal@....com>,
Christoph Hellwig <hch@....de>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-block@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] null_blk: Fix null pointer dereference on
nullb->disk on blk_cleanup_disk call
On 6/2/21 4:06 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The error handling on a nullb->disk allocation currently jumps to
> out_cleanup_disk that calls blk_cleanup_disk with a null pointer causing
> a null pointer dereference issue. Fix this by jumping to out_cleanup_tags
> instead.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists