[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20221117211633.1273693-1-miquel.raynal@bootlin.com>
Date: Thu, 17 Nov 2022 22:16:33 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Hui Tang <tanghui20@...wei.com>, miquel.raynal@...tlin.com,
richard@....at, vigneshr@...com, u.kleine-koenig@...gutronix.de
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
weiyongjun1@...wei.com, yusongping@...wei.com
Subject: Re: [PATCH v2] mtd: lpddr2_nvm: Fix possible null-ptr-deref
On Mon, 2022-11-14 at 09:02:40 UTC, Hui Tang wrote:
> It will cause null-ptr-deref when resource_size(add_range) invoked,
> if platform_get_resource() returns NULL.
>
> Fixes: 96ba9dd65788 ("mtd: lpddr: add driver for LPDDR2-NVM PCM memories")
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
> Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists