Hi,
I'm not sure if it is still actual - I did quick test on my side and memmove() works correctly on my side:
jiri_kral_0-1685699579492.png
jiri_kral_1-1685699622731.png
Most probable cause of the issue is that something rewrite the memory space. It can be some DMA access, if it is multicore project with badly defined linker script file – other core may write outside of its memory space and So on.