Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85377

Fix data race in AuthorizationSessionTestFixture

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • Fully Compatible
    • Security 2024-02-05, Security 2024-02-19
    • 35

      There's a data race on the AuthorizationManagerImpl::_authEnabled flag when AuthorizationSessionTestFixture::setUp() calls authzManager->setAuthEnabled(true); while the JournalFlusher thread reads the boolean through isAuthEnabled().

      See linked BF for TSAN stack traces.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: