Linux overflow UID can admit attacker-owned lock trees
Description
Impact
A Linux user namespace can report the same overflow UID for unrelated host accounts. When the namespace shares a sticky lock directory with the host, SoftReadWriteLock can accept another account's protocol tree as trusted and admit a reader while a writer holds the lock.
Affected versions and fix
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The ownership check rejects an ambiguous overflow UID instead of treating matching numeric IDs as proof of ownership. PR #977
Workaround
Use a lock directory with a verified, mapped owner where untrusted accounts cannot supply or replace the protocol tree.
Credits
Reported by OSS Scanner (ANT-2026-50TKW02X).