Time-of-check Time-of-use (TOCTOU) Race Condition in filelock - #VU169648
Published: November 23, 2026
Vulnerability details
The vulnerability allows a local user to overwrite the beginning of an unrelated victim-owned file with holder-record data.
The vulnerability exists due to a time-of-check time-of-use race condition in the SoftReadWriteLock heartbeat when a reused inode number is mistaken for proof that the original holder-record file is still open. A local user can manipulate entries in a shared directory where they have rename permissions to cause an unintended overwrite on a filesystem that reuses inode numbers.