RTEMS | fix(posix): Fix data races in aio_suspend (CID 1667293, 1642621) (!955)

MITHILESH MATTAPALLI (@mithileshm) gitlab at rtems.org
Tue Jan 27 14:08:56 UTC 2026



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

Project:Branches: mithileshm/rtems:fix-posix-data-races to rtems/rtos/rtems:main
Author:   MITHILESH MATTAPALLI




Coverity analysis identified concurrency issues in the aio_suspend() function:

CID 1667293 & 1642621 (Data Races): The function accessed list\[i\]-\>error_code without holding the aio_request_queue.mutex. This could lead to reading undefined values if the worker thread updated the status concurrently. The fix extends the critical section to protect this check.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260127/752ff689/attachment.htm>


More information about the bugs mailing list