Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - #VU169646
Published: November 23, 2026
Vulnerability details
The vulnerability allows a local user to break write-lock exclusivity, potentially compromising the integrity or availability of protected operations.
The vulnerability exists due to a time-of-check to time-of-use race condition in ReadWriteLock when the shared SQLite database switches to write-ahead logging during lock acquisition. A local user can modify the shared lock database to allow two callers to enter their write critical sections concurrently.