Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-537

Use after free when deallocating TCP socket after use

    Details

    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      When an application uses LwIP_Socket_Alloc and LwIP_Socket_Free to manage TCP sockets memory and the application calls LwIP_Socket_Free() on a TCP socket closed beforehand, a use after free occurs when lwIP stack access the socket memory on TIME_WAIT expiration. The firmware will have undefined behavior afterwards.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    Alexander.Ivanov Alexander Ivanov
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: