[GIT PULL] mtd: Fixes for 7.2-rc4
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jul 17 08:45:57 PDT 2026
Hello,
This is a fixes MTD PR for 7.2-rc4.
Thanks,
Miquèl
The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:
Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-7.2-rc4
for you to fetch changes up to 2b533e775aec580cf60074417f4ca00ac9cf3580:
Revert "mtd: maps: remove uclinux map driver" (2026-07-03 15:46:28 +0200)
----------------------------------------------------------------
Among the most important fixes that we have here, there are:
- the revert of the uclinux map driver which was presumably no longer
used but in fact was
- the use of SPI match data to get chip capabilities in the mchp23k256
driver
- several fixes addressing the newly introduced virt-concat support
- a missing build dependency on ndfc
There is as well the usual load (if not actually bigger than ususal) of
uninitialized variables, leaks, double free, and AI fuzzed issues being
fixed.
----------------------------------------------------------------
Arnd Bergmann (1):
mtd: rawnand: ndfc: add CONFIG_OF dependency
Deepanshu Kartikey (1):
mtd: mtdpart: validate partition bounds in mtd_add_partition()
Harshit Mogalapalli (2):
mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins()
mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()
Miquel Raynal (1):
Revert "mtd: maps: remove uclinux map driver"
Nikolay Ivchenko (1):
mtd: mtdpart: fix uninitialized erasesize on MTDPART_OFS_RETAIN error path
Pengpeng Hou (9):
mtd: nand: ecc-mtk: handle ECC clock enable failures
mtd: rawnand: ingenic: handle ECC clock enable failures
mtd: mtdswap: remove debugfs stats file on teardown
mtd: nand: mtk-ecc: stop on ECC idle timeouts
mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
mtd: mchp23k256: use SPI match data for chip caps
mtd: rawnand: fsl_ifc: return errors for failed page reads
mtd: onenand: samsung: report DMA completion timeouts
Rosen Penev (1):
mtd: rawnand: ndfc: fix gcc uninitialized var
Ruoyu Wang (1):
mtd: spinand: initialize ret in regular page reads
Xu Rao (1):
mtd: virt-concat: free duplicate generated name
Xue Lei (1):
mtd: fix double free and WARN_ON in add_mtd_device() error paths
drivers/mtd/devices/mchp23k256.c | 2 +-
drivers/mtd/maps/Kconfig | 6 ++
drivers/mtd/maps/Makefile | 1 +
drivers/mtd/maps/uclinux.c | 118 +++++++++++++++++++++++++++++
drivers/mtd/mtd_virt_concat.c | 8 +-
drivers/mtd/mtdcore.c | 23 +++++-
drivers/mtd/mtdpart.c | 8 ++
drivers/mtd/mtdswap.c | 5 +-
drivers/mtd/nand/ecc-mtk.c | 24 ++++--
drivers/mtd/nand/onenand/onenand_samsung.c | 7 +-
drivers/mtd/nand/raw/Kconfig | 1 +
drivers/mtd/nand/raw/fsl_ifc_nand.c | 9 ++-
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c | 7 +-
drivers/mtd/nand/raw/lpc32xx_mlc.c | 12 ++-
drivers/mtd/nand/raw/lpc32xx_slc.c | 12 ++-
drivers/mtd/nand/raw/ndfc.c | 2 +-
drivers/mtd/nand/spi/core.c | 2 +-
17 files changed, 224 insertions(+), 23 deletions(-)
create mode 100644 drivers/mtd/maps/uclinux.c
More information about the linux-mtd
mailing list