Traffic Server
  1. Traffic Server
  2. TS-1158

Race on mutex switching for NetVConnections in UnixNetVConnection::mainEvent

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.1.4, 3.0.5
    • Component/s: Core
    • Labels:
      None
    • Environment:

      ALL

    • Backport to Version:

      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.

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

        Activity

        John Plevyak created issue -
        John Plevyak made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        John Plevyak made changes -
        Attachment ts-1158-jp1.patch [ 12519096 ]
        Leif Hedstrom made changes -
        Backport to Version 3.0.4 [ 12320054 ] 3.0.5 [ 12320055 ]
        Brian Geffon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee John Plevyak [ jplevyak ] Brian Geffon [ briang ]
        Fix Version/s 3.0.5 [ 12320055 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Brian Geffon
            Reporter:
            John Plevyak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development