[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YH6p4e/BtoYp8jH7@vkoul-mobl.Dlink>
Date: Tue, 20 Apr 2021 15:46:01 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Dave Jiang <dave.jiang@...el.com>, dmaengine@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Fix potential null dereference on
pointer status
On 15-04-21, 12:06, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> There are calls to idxd_cmd_exec that pass a null status pointer however
> a recent commit has added an assignment to *status that can end up
> with a null pointer dereference. The function expects a null status
> pointer sometimes as there is a later assignment to *status where
> status is first null checked. Fix the issue by null checking status
> before making the assignment.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists