A RaceCondition is a Synchronisation bug in which the results of some computation or action depend in an unsafe way upon the the actions of other threads or processes.
Several security-related RaceConditions have occurred when a program checks file permissions and ownership before reading the file. The obvious implementation of this has a RaceCondition which allows the file to be changed between the check and the reading.
4 pages link to RaceCondition: