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

From: Lee Jones

Date: Wed Dec 02 2026 - 04:35:27 EST


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@xxxxxxxxxxx>
Cc: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx>
Cc: Aneesh V <aneesh@xxxxxx>
Cc: Benoit Cousson <b-cousson@xxxxxx>
Cc: Boris Brezillon <bbrezillon@xxxxxxxxxx>
Cc: Christophe Kerello <christophe.kerello@xxxxxxxxxxx>
Cc: Claudiu Beznea <claudiu.beznea@xxxxxxxxx>
Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jean-Jacques Hiblot <jjhiblot@xxxxxxxxxxxxxxx>
Cc: Jonathan Hunter <jonathanh@xxxxxxxxxx>
Cc: Joseph Lo <josephl@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: linux-tegra@xxxxxxxxxxxxxxx
Cc: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx>
Cc: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
Cc: Patrice Chotard <patrice.chotard@xxxxxxxxxxx>
Cc: Santosh Shilimkar <ssantosh@xxxxxxxxxx>
Cc: Thierry Reding <thierry.reding@xxxxxxxxxx>

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