[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <177038510238.1182336.10818314123558864993.b4-ty@bootlin.com>
Date: Fri, 06 Feb 2026 14:38:22 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: richard@....at, vigneshr@...com, tudor.ambarus@...aro.org,
chengminglin@...c.com.tw, mmkurbanov@...utedevices.com,
mikhail.kshevetskiy@...sys.eu, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, Md Sadre Alam <quic_mdalam@...cinc.com>
Subject: Re: [PATCH] mtd: spinand: fix NULL pointer dereference in
spinand_support_vendor_ops()
On Fri, 06 Feb 2026 14:07:52 +0530, Md Sadre Alam wrote:
> The spinand_support_vendor_ops() helper unconditionally dereferences
> info->vendor_ops. For chips that do not define vendor_ops, this pointer
> is NULL, leading to a kernel panic during probe:
>
> Unable to handle kernel NULL pointer dereference at virtual address
> 0000000000000008
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: spinand: fix NULL pointer dereference in spinand_support_vendor_ops()
commit: e82269e7cb93a2d33368418be4ee56015b4adc27
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
Powered by blists - more mailing lists