[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170424.155150.2291676361142019268.davem@davemloft.net>
Date: Mon, 24 Apr 2017 15:51:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bianpan201602@....com
Cc: khc@...waw.pl, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bianpan2016@....com
Subject: Re: [PATCH 1/1] wan: pc300too: abort path on failure
From: Pan Bian <bianpan201602@....com>
Date: Sun, 23 Apr 2017 17:38:35 +0800
> From: Pan Bian <bianpan2016@....com>
>
> In function pc300_pci_init_one(), on the ioremap error path, function
> pc300_pci_remove_one() is called to free the allocated memory. However,
> the path is not terminated, and the freed memory will be used later,
> resulting in use-after-free bugs. This path fixes the bug.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists