New Defects reported by Coverity Scan for RTEMS

scan-admin at coverity.com scan-admin at coverity.com
Thu Jun 26 06:14:09 UTC 2025


Hi,

Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.

1 new defect(s) introduced to RTEMS found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1655164:       Concurrent data access violations  (MISSING_LOCK)
/cpukit/posix/src/aio_misc.c: 673           in rtems_aio_handle()


_____________________________________________________________________________________________
*** CID 1655164:         Concurrent data access violations  (MISSING_LOCK)
/cpukit/posix/src/aio_misc.c: 673             in rtems_aio_handle()
667            if the working request has been extracted from the
668            chain */
669         result = pthread_mutex_lock( &r_chain->mutex );
670         if ( result != 0 )
671           return NULL;
672     
>>>     CID 1655164:         Concurrent data access violations  (MISSING_LOCK)
>>>     Accessing "r_chain->perfd" without holding lock "rtems_aio_queue.mutex". Elsewhere, "rtems_aio_request_chain.perfd" is written to with "rtems_aio_queue.mutex" held 5 out of 5 times.
673         chain = &r_chain->perfd;
674     
675         /* If the locked chain is not empty, take the first
676            request extract it, unlock the chain and process
677            the request, in this way the user can supply more
678            requests to this fd chain */


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/rtems?tab=overview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/build/attachments/20250626/f7bb708d/attachment.htm>


More information about the build mailing list