Mixed strict and soft locks can overlap after foreign sentinel removal
Description
Impact
On POSIX, a StrictSoftFileLock holder and a soft-lock client using the same path could both enter their critical sections if another account owned the sentinel in a shared sticky directory. This compromises mutual exclusion during a mixed-client migration. The report established overlapping holds.
Affected versions and mitigation
Confirmed affected: = 4.2.12. Upgrade to 4.3.0.
Strict acquisition now refuses a sentinel owned by an untrusted account. Use a directory writable only by the participating account, or use strict clients consistently. Where a shared sticky directory is required, provision the sentinel under the locking account or directory owner before adding clients. Fix in PR #992
Credits
OSS Scanner: ANT-2026-DYZMWIDJ (mixed strict/soft variant).