[PATCH v2 2/2] mtd: nand: qpic_common: prevent out of bounds access of BAM arrays
Gabor Juhos
j4g8y7 at gmail.com
Fri May 30 04:07:35 PDT 2025
2025. 05. 30. 10:56 keltezéssel, Bryan O'Donoghue írta:
...
> This one doesn't apply to -next
It is because the series is based on the SPI tree, and -next contains another
change for 'drivers/mtd/nand/qpic_common.c' which comes from the MTD tree.
It can be applied by specifying the 'M' switch for b4 shazam.
$ git reset --hard next-20250530
HEAD is now at 3a83b350b5be Add linux-next specific files for 20250530
$ b4 shazam -M 20250529-qpic-snand-avoid-mem-corruption-v2-0-2f0d13afc7d2 at gmail.com
Grabbing thread from lore.kernel.org/all/20250529-qpic-snand-avoid-mem-corruption-v2-0-2f0d13afc7d2 at gmail.com/t.mbox.gz
Checking for newer revisions
Grabbing search results from lore.kernel.org
Analyzing 4 messages in the thread
Analyzing 12 code-review messages
Checking attestation on all messages, may take a moment...
---
? [PATCH v2 1/2] spi: spi-qpic-snand: reallocate BAM transactions
? [PATCH v2 2/2] mtd: nand: qpic_common: prevent out of bounds access of BAM arrays
---
? Signed: DKIM/gmail.com
---
Total patches: 2
---
Base: using specified base-commit b00d6864a4c948529dc6ddd2df76bf175bf27c63
Magic: Preparing a sparse worktree
---
Applying: spi: spi-qpic-snand: reallocate BAM transactions
Applying: mtd: nand: qpic_common: prevent out of bounds access of BAM arrays
---
Fetching into FETCH_HEAD
Will exec: git merge --no-ff -F /home/juhosg/devel/linux-ipq95xx/.git/b4-cover --edit FETCH_HEAD --signoff
Press Enter to continue or Ctrl-C to abort
Auto-merging drivers/mtd/nand/qpic_common.c
Auto-merging drivers/spi/spi-qpic-snand.c
Auto-merging include/linux/mtd/nand-qpic-common.h
Merge made by the 'ort' strategy.
drivers/mtd/nand/qpic_common.c | 30 ++++++++++++++++++++++++++----
drivers/spi/spi-qpic-snand.c | 16 ++++++++++++++++
include/linux/mtd/nand-qpic-common.h | 8 ++++++++
3 files changed, 50 insertions(+), 4 deletions(-)
$
More information about the linux-mtd
mailing list