K 10 svn:author V 3 kib K 8 svn:date V 27 2015-01-31T12:27:40.255991Z K 7 svn:log V 587 The dependency chain for priority-inheritance mutexes could be subverted by userspace into cycle. Both umtx_propagate_priority() and umtx_repropagate_priority() would then loop infinitely, owning the spinlock. Check for the cycle using standard Floyd' algorithm before doing the pass in the affected functions. Add simple check for condition of tricking the thread into a wait for itself, which could be easily simulated by usermode without race. Found by: Eric van Gyzen In collaboration with: Eric van Gyzen Tested by: pho MFC after: 1 week END