All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: spi-qpic-snand: avoid memory corruption
@ 2025-05-25 17:05 ` Gabor Juhos
  0 siblings, 0 replies; 24+ messages in thread
From: Gabor Juhos @ 2025-05-25 17:05 UTC (permalink / raw)
  To: Mark Brown, Md Sadre Alam, Varadarajan Narayanan,
	Sricharan Ramabadhran, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra
  Cc: linux-spi, linux-mtd, linux-arm-msm, linux-kernel, Gabor Juhos

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@gmail.com>
---
Gabor Juhos (2):
      spi: spi-qpic-snand: reallocate BAM transactions
      mtd: nand: qpic_common: prevent out of bounds access of BAM arrays

 drivers/mtd/nand/qpic_common.c       | 28 ++++++++++++++++++++++++----
 drivers/spi/spi-qpic-snand.c         | 16 ++++++++++++++++
 include/linux/mtd/nand-qpic-common.h |  8 ++++++++
 3 files changed, 48 insertions(+), 4 deletions(-)
---
base-commit: b00d6864a4c948529dc6ddd2df76bf175bf27c63
change-id: 20250523-qpic-snand-avoid-mem-corruption-301afabeb0eb

Best regards,
-- 
Gabor Juhos <j4g8y7@gmail.com>


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-05-28  6:11 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-25 17:05 [PATCH 0/2] spi: spi-qpic-snand: avoid memory corruption Gabor Juhos
2025-05-25 17:05 ` Gabor Juhos
2025-05-25 17:05 ` [PATCH 1/2] spi: spi-qpic-snand: reallocate BAM transactions Gabor Juhos
2025-05-25 17:05   ` Gabor Juhos
2025-05-26  5:56   ` Md Sadre Alam
2025-05-26  5:56     ` Md Sadre Alam
2025-05-27 11:28   ` Mark Brown
2025-05-27 11:28     ` Mark Brown
2025-05-27 12:23     ` Gabor Juhos
2025-05-27 12:23       ` Gabor Juhos
2025-05-25 17:05 ` [PATCH 2/2] mtd: nand: qpic_common: prevent out of bounds access of BAM arrays Gabor Juhos
2025-05-25 17:05   ` Gabor Juhos
2025-05-26  6:53   ` Md Sadre Alam
2025-05-26  6:53     ` Md Sadre Alam
2025-05-26 20:01     ` Gabor Juhos
2025-05-26 20:01       ` Gabor Juhos
2025-05-28  6:11       ` Lakshmi Sowjanya D (QUIC)
2025-05-28  6:11         ` Lakshmi Sowjanya D (QUIC)
2025-05-26  9:27   ` Miquel Raynal
2025-05-26  9:27     ` Miquel Raynal
2025-05-26 20:21     ` Gabor Juhos
2025-05-26 20:21       ` Gabor Juhos
2025-05-26  8:13 ` [PATCH 0/2] spi: spi-qpic-snand: avoid memory corruption Miquel Raynal
2025-05-26  8:13   ` Miquel Raynal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.