mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH 00/10] nvmem: Fix Critical and High issues reported by Sashiko
@ 2026-12-03  8:26 Lee Jones
  2026-12-03  8:26 ` [PATCH 01/10] nvmem: meson-efuse: Reject negative or zero SMC size in meson_efuse_probe() Lee Jones
  2026-12-03  8:26 ` [PATCH 09/10] nvmem: meson-efuse: Detect short reads and writes from Secure Monitor Lee Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Lee Jones @ 2026-12-03  8:26 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, Alexandre Torgue, Anatolij Gustschin,
	Andrew Morton, Baolin Wang, Bartosz Golaszewski, Carlo Caione,
	Chunyan Zhang, Dan Carpenter, Dmitry Baryshkov, Etienne Carriere,
	Freeman Liu, Greg Kroah-Hartman, Jerome Brunet, Joy Chakraborty,
	Kevin Hilman, Khouloud Touil, Linus Walleij, linux-amlogic,
	linux-arm-kernel, linux-stm32, Martin Blumenstingl,
	Maxime Coquelin, Maxime Ripard, Miquel Raynal, Neil Armstrong,
	Orson Zhai, Patrick Delaunay, Randy Dunlap, Srinivas Kandagatla

This series fixes 10 Critical and High issues across the NVMEM core and
drivers (Meson eFuse, Spreadtrum eFuse, 93xx46 EEPROM, and STM32 BSEC
OP-TEE TA), covering out-of-bounds reads, integer underflow, multi-byte
bit-offset corruption, WP GPIO and erase/write locking races, stack DMA
buffers, unchecked SMC sizes/short transfers, and an OP-TEE session leak.

These issues were reported by Sashiko.

Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Cc: Carlo Caione <carlo@endlessm.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Cc: Dan Carpenter <error27@gmail.com>
Cc: Dmitry Baryshkov <lumag@kernel.org>
Cc: Etienne Carriere <etienne.carriere@linaro.org>
Cc: Freeman Liu <freeman.liu@unisoc.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Joy Chakraborty <joychakr@google.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Khouloud Touil <ktouil@baylibre.com>
Cc: Linus Walleij <linusw@kernel.org>
Cc: linux-amlogic@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Srinivas Kandagatla <srini@kernel.org>

Lee Jones (10):
  nvmem: meson-efuse: Reject negative or zero SMC size in
    meson_efuse_probe()
  nvmem: core: Prevent integer underflow in nvmem_cell_attr_read()
  nvmem: sprd: Avoid out-of-bounds read on partial writes in
    sprd_efuse_raw_prog()
  nvmem: core: Handle multi-byte bit offsets in
    nvmem_cell_prepare_write_buffer()
  nvmem: core: Serialise writes when toggling the write-protect GPIO
  nvmem: eeprom_93xx46: Reject unaligned writes on 16-bit devices
  nvmem: eeprom_93xx46: Hold device lock across erase/write enable
    sequences
  nvmem: eeprom_93xx46: Use DMA-safe command buffer for SPI transfers
  nvmem: meson-efuse: Detect short reads and writes from Secure Monitor
  nvmem: stm32: Avoid OP-TEE session leak on unaligned writes

 drivers/nvmem/core.c                | 50 ++++++++++++-----
 drivers/nvmem/eeprom_93xx46.c       | 85 +++++++++++++++--------------
 drivers/nvmem/internals.h           |  2 +
 drivers/nvmem/meson-efuse.c         | 17 ++++--
 drivers/nvmem/sprd-efuse.c          | 13 ++++-
 drivers/nvmem/stm32-bsec-optee-ta.c |  8 +--
 6 files changed, 111 insertions(+), 64 deletions(-)

-- 
2.56.1.911.g883d8bcb20-goog


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2026-12-03  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  8:26 [PATCH 00/10] nvmem: Fix Critical and High issues reported by Sashiko Lee Jones
2026-12-03  8:26 ` [PATCH 01/10] nvmem: meson-efuse: Reject negative or zero SMC size in meson_efuse_probe() Lee Jones
2026-12-03  8:26 ` [PATCH 09/10] nvmem: meson-efuse: Detect short reads and writes from Secure Monitor Lee Jones
2026-12-03  8:54   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®