First of all, sorry if this is in the wrong SE. Not sure where else this should go.
To my understanding, flash drives accomplish wear leveling by having a microcontroller remap sections of memory on the fly. These new locations need to be remembered, so it must use some sort of extra memory for a lookup table. My question is, how does this extra memory not fail in exactly the way the microcontroller is trying to prevent?
Or am I completely misunderstanding how flash drives work?