[PATCH 0/8] memory: Fix Critical and High issues reported by Sashiko

Lee Jones lee at kernel.org
Wed Dec 2 01:33:47 PST 2026


These issues were reported by Sashiko.

This series addresses all open Critical and High severity reports in
the memory controller subsystem, rebased onto mem-ctrl/for-next.  It
fixes a devm lifetime use-after-free in of_update_property(), timer
teardown and re-arm races during suspend/resume, child depopulation
ordering, REQ2ACK bitfield and divide-by-zero bugs, AMCR bitfield
shifting/masking, __fls(0) undefined behaviour, and stale invalid
custom_configs pointers.

Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
Cc: Aneesh V <aneesh at ti.com>
Cc: Benoit Cousson <b-cousson at ti.com>
Cc: Boris Brezillon <bbrezillon at kernel.org>
Cc: Christophe Kerello <christophe.kerello at foss.st.com>
Cc: Claudiu Beznea <claudiu.beznea at tuxon.dev>
Cc: Grant Likely <grant.likely at secretlab.ca>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: Jean-Jacques Hiblot <jjhiblot at traphandler.com>
Cc: Jonathan Hunter <jonathanh at nvidia.com>
Cc: Joseph Lo <josephl at nvidia.com>
Cc: Krzysztof Kozlowski <krzk at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-stm32 at st-md-mailman.stormreply.com
Cc: linux-tegra at vger.kernel.org
Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
Cc: Nicolas Ferre <nicolas.ferre at microchip.com>
Cc: Patrice Chotard <patrice.chotard at foss.st.com>
Cc: Santosh Shilimkar <ssantosh at kernel.org>
Cc: Thierry Reding <thierry.reding at kernel.org>

Lee Jones (8):
  memory: atmel-ebi: Use non-devm allocations for of_update_property()
  memory: tegra210-emc: Stop timers on suspend and prevent training
    re-arm
  memory: stm32_omm: Depopulate child devices before disabling clocks
  memory: stm32_omm: Fix double FIELD_PREP() and clamp for REQ2ACK
  memory: stm32_omm: Avoid division by zero in req2ack calculation
  memory: stm32_omm: Shift and mask AMCR value in stm32_omm_set_amcr()
  memory: emif: Avoid __fls(0) and underflow in of_get_ddr_info()
  memory: emif: Clear invalid custom_configs in get_device_details()

 drivers/memory/atmel-ebi.c               | 40 +++++++++++++++++-------
 drivers/memory/emif.c                    |  6 ++--
 drivers/memory/stm32_omm.c               | 29 +++++++++++------
 drivers/memory/tegra/tegra210-emc-core.c | 37 +++++++++++++++++-----
 drivers/memory/tegra/tegra210-emc.h      |  2 ++
 5 files changed, 84 insertions(+), 30 deletions(-)

-- 
2.56.1.911.g883d8bcb20-goog




More information about the linux-arm-kernel mailing list