Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1158

Race on mutex switching for NetVConnections in UnixNetVConnection::mainEvent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 3.1.4, 3.0.5
    • Core
    • None
    • ALL

    Description

      Because of the way session management works, the vio.mutex must be re-verified to be identical to the one the lock was taken on after the lock is acquired. Otherwise there is a race when the mutex is switched allowing such that the old lock is held while the new lock is in not held.

      Attachments

        1. ts-1158-jp1.patch
          0.8 kB
          John Plevyak

        Activity

          People

            briang Brian Geffon
            jplevyak John Plevyak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: