[IPC]: Race Condition in RPMessage_getRemoteEndPtToken API while allocating taskWaiter

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • PDK
    • PDK-19113
    • Hide
      PROCESSOR_SDK_10.01.00
      PROCESSOR_SDK_11.01.00
      Show
      PROCESSOR_SDK_10.01.00 PROCESSOR_SDK_11.01.00
    • PROCESSOR_SDK_12.00.00
    • Hide
      j721e-evm
      j721e-hsevm
      j721e-hsfs-evm
      j7200-evm
      j7200-hsevm
      j7200-hsfs-evm
      j721s2-evm
      j721s2-hsevm
      j721s2-hsfs-evm
      j784s4-evm
      j784s4-hsevm
      j742s2-hsfs-evm
      j784s4-hsfs-evm
      j742s2-hsevm
      j722s-hsevm
      j722s-hsfs-evm
      Show
      j721e-evm j721e-hsevm j721e-hsfs-evm j7200-evm j7200-hsevm j7200-hsfs-evm j721s2-evm j721s2-hsevm j721s2-hsfs-evm j784s4-evm j784s4-hsevm j742s2-hsfs-evm j784s4-hsfs-evm j742s2-hsevm j722s-hsevm j722s-hsfs-evm
    • NA

      This API RPMessage_getRemoteEndPtToken in file ipc_api.c file allocates the taskWaited from the global pool of task waiter objects. but this allocation is not protected. 

      In case of SafeRTOS, which uses round robin scheduling policy for equal priority tasks, this can potentially corrupt IPC waiting tasks queue and can potentially cause hang in the IPC.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-6264 - [IPC]: Race Condition in RPMessage_...
                SYNCHRONIZED
                • Last Sync Date: