The treiber stack implementation in heapless had a race condition
Description
In the affected versions, it was possible for two threads or execution contexts running concurrently to race, causing one to read out of a pointer that had been invalidated by another execution context.
Reported by Jacob Finkelman.