[PATCH 0/2] spi: spi-qpic-snand: avoid memory corruption

Miquel Raynal miquel.raynal at bootlin.com
Mon May 26 01:13:39 PDT 2025


Hi Gabor,

On 25/05/2025 at 19:05:34 +02, Gabor Juhos <j4g8y7 at gmail.com> wrote:

> The 'spi-qpic-nand' driver may cause memory corruption under some
> circumstances. The first patch in the series changes the driver to
> avoid that, whereas the second adds some sanity checks to the common
> QPIC code in order to make detecting such errors easier in the future.
>
> Signed-off-by: Gabor Juhos <j4g8y7 at gmail.com>
> ---
> Gabor Juhos (2):
>       spi: spi-qpic-snand: reallocate BAM transactions
>       mtd: nand: qpic_common: prevent out of bounds access of BAM
> arrays

Are these two paches related somehow? Or can we apply them in
two different trees? If yes, please send the patches separately, which
eases our work.

Thanks,
Miquèl



More information about the linux-mtd mailing list