zephyr/subsys
Riadh Ghaddab 2eba2e9c9c zms: add more robustiness in extreme cases
When power cuts during a GC operation, the sector is erased again in the
next reboot cycle and the cycle_cnt of the empty ATE is incremented.
If the same power cut happens 255 times in a row, the empty ATE cycle_cnt
will become equal to the close ATE which causes a memory corruption.
Fix this by checking the close ATE cycle_cnt before incrementing the
empty ATE cycle_cnt.

Fixes: #84874
Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-04-16 20:36:49 +02:00
..
bindesc
bluetooth bluetooth: increase stack size for NO_OPTIMIZATIONS 2025-04-16 17:08:02 +02:00
canbus
console
dap dap: add DAP backend USB 2025-03-11 18:54:24 +01:00
debug debug: cpu_load: Add missing static keyword 2025-04-16 14:53:30 +02:00
demand_paging
dfu dfu: Add support for new MCUboot swap using offset mode 2025-02-10 19:05:25 +01:00
disk
dsp
emul
fb cfb: typo fixes 2025-04-02 10:30:50 +02:00
fs zms: add more robustiness in extreme cases 2025-04-16 20:36:49 +02:00
input
ipc ipc_service: ipc_icbmsg: Update backend API return values 2025-03-28 12:21:30 +01:00
jwt
llext llext: optimize allocations for read-only sections 2025-03-21 14:41:30 -04:00
logging logging: frontends: stmesp: Fix sending string location 2025-04-01 16:26:50 +02:00
lorawan lorawan: add callback for descriptor changes 2025-03-07 19:42:56 +01:00
mctp
mem_mgmt
mgmt arch: arm: Add Cortex-A7 support 2025-04-04 09:35:03 +02:00
modbus
modem modem: cmux: Do not return error on low buffer space 2025-03-24 19:33:07 +01:00
net net: lib: Correct the wifi_cred command 2025-04-16 14:53:54 +02:00
pm pm: device: correct state in pm_device_driver_init 2025-04-11 14:53:53 +02:00
portability portability: cmsis: Avoid copying objects names into control block 2025-04-14 20:03:19 +02:00
profiling
random random: Correct Mutex define 2025-03-04 21:55:45 +01:00
retention
rtio rtio: Transactions assume valid next list nodes 2025-03-14 01:02:10 +01:00
sd sd: correct mismatched comment for CONFIG_SDMMC_STACK 2025-03-31 21:59:40 +02:00
secure_storage secure_storage: its: store: settings: allow using custom setting names 2025-04-08 14:22:59 +02:00
sensing
settings settings: fix settings shell subcommand helper 2025-03-29 06:31:39 +01:00
shell shell: mqtt: use ring_buf_reset to flush rx_rb 2025-04-09 22:06:05 +02:00
sip_svc
stats
storage storage: flash_map: add flash_area_copy() 2025-04-14 16:07:35 +02:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
testsuite ztest: Fix confusing SKIP log 2025-04-04 21:16:34 +02:00
timing
tracing kernel: kheap: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
usb usb: device_next: Change speed selection Kconfig dependency 2025-04-10 12:57:19 +02:00
zbus zbus: remove k_malloc dependency for ZBUS_RUNTIME_OBSERVERS 2025-04-14 20:03:09 +02:00
CMakeLists.txt
Kconfig