I am going through a similar problem, and googling around I found this article below seems to do it (on an ARM Cortex M4) https://mcuoneclipse.com/2021/05/31/finding-memory-bugs-with-google-address-sanitizer-asan-on-microcontrollers/
He even created an example project on github https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/MCUXpresso/tinyK22/tinyK22_FreeRTOS_ASAN
Didnt have time to try to reproduce on my side yet