2 threads/requests colliding at same time, resulting in unexpected behavior of application.
the time at which they collide is coined as race window
It’s a Business Logic Flaw.
Types of Race Conditions:
exceed some kind of limit imposed by the business logic of the application
eg -
The whole thing is a subtype of time of check to time of use (TOCTOU) flaw.