[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160201204253.GD18440@kroah.com>
Date: Mon, 1 Feb 2016 12:42:53 -0800
From: Greg KH <greg@...ah.com>
To: DingXiang <dingxiang@...wei.com>
Cc: snitzer@...hat.com, stable@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] [dm]fix NULL pointer in dm_exception_store_create() when
create dm device
On Mon, Feb 01, 2016 at 03:05:58PM +0800, DingXiang wrote:
> In some conditions(such as umount fs failed),origin path or origin bdev or both of the two is same
> as cow's.If this happens, origin dev will be freed when get cow dev in function "dm_get_device" ,
> then "s->origin->dev" which used by "dm_exception_store_create" will be a NULL pointer.
>
> Signed-off-by:Ding Xiang <dingxiang@...wei.com>
> ---
> drivers/md/dm-snap.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
Powered by blists - more mailing lists