CVE-2026-112906 is a TOCTOU/inode-reuse race in filelock's soft lock implementations. The root cause is that the stale-marker watch (_marker_unchanged_for) identified a marker solely by its (mtime, inode) pair. Both halves of that pair are forgeable/repeatable: a file's owner can set mtime to any value (including a future coarse-clock tick) via utime, and ext4 (and overlayfs on ext4) immediately reuses a freed inode number for the next file created in the directory. An attacker in a sticky directory (e.g. /tmp) parks an empty file at the lock path dated to a future tick, lets the victim's waiters watch it past the 2-second grace window, then unlinks it. When a victim process creates its fresh marker in that same tick, it inherits the attacker's (mtime, inode), so a second waiter's _marker_unchanged_for returns the accumulated 2.2s and break_lock_file removes the live holder's marker — yielding two concurrent holders with no error.
The fix (PR #843, commit 740ff666) addresses this by: (1) adding st_ctime_ns (change time, which no process can set) to the watch key in _marker_unchanged_for; (2) pinning the inode open (pin_inode) across the read-and-break so a freed inode number cannot be reused by a successor; and (3) replacing the path-based rename/unlink in break_lock_file with an atomic name exchange so the lock path never stands empty. The vulnerable functions are those that implemented the (mtime, inode)-only watch and the path-based break: SoftFileLock._marker_unchanged_for, SoftFileLock._try_break_stale_lock, SoftFileLease._try_break_stale_lock, MarkerSoftFileLock._try_break_stale_lock, and break_lock_file. These are the functions that would appear in a runtime profile during exploitation (the victim's polling/acquire loop).