[PATCH v3 0/2] mtd: spi-nor: fix use-after-free on unbind with open handles

Michael Walle mwalle at kernel.org
Fri Nov 20 00:12:41 PST 2026


Hi,

On Fri Nov 20, 2026 at 3:21 AM CET, TZE YEE NG wrote:
> I would prefer to keep this series as a spi-nor-only fix, since it 
> solves the problem for spi-nor today. James Hilliard's raw NAND series 
> [1] adds a generic opt-in lifetime to the core (mtd_set_release()). I 
> would be happy to look at moving spi-nor onto it if it lands, but maybe 
> in another series. Are you okay with keeping this series as is?

No, not really. Sorry. Esp. given how cluttered it is and just
solves the problem for one user of the MTD subsystem.

-michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20261120/05495e15/attachment.sig>


More information about the linux-mtd mailing list