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

Lock order inversion between EncryptionKeyManager::_keystoreMetadataMutex and encryptedCustomizeMutex

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • Security 2024-07-22, Security 2024-08-05

      When we open wiredtiger, the encryptedCustomizeMutex is held when we call initLocalKeystore, which acquires the _keystoreMetadataMutex.

      When we rotate, rotateMasterKey holds the _keystoreMetadataMutex when it calls into icustomize and acquires the encrypedCustomizeMutex.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: