MITHILESH MATTAPALLI created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/954

Project:Branches: mithileshm/rtems:fix-posix-deadlock-1667285 to 
rtems/rtos/rtems:main
Author:   MITHILESH MATTAPALLI




Coverity analysis identified a concurrency issue in the aio_suspend() function:

CID 1667285 (Deadlock): The function held the global aio_request_queue.mutex 
while attempting to acquire a specific request's suspendcbp-\>mutex. This 
violated lock ordering if a worker thread held the request lock and waited for 
the global queue lock. The fix drops the global lock before acquiring the 
request lock and re-acquires it afterwards to maintain correct lock ordering.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/954
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to