[openssl/openssl] 7725e7: x509: fix double locking problem

Pauli noreply at github.com
Thu Dec 8 10:15:20 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 7725e7bfe6f2ce8146b6552b44e0d226be7638e7
      https://github.com/openssl/openssl/commit/7725e7bfe6f2ce8146b6552b44e0d226be7638e7
  Author: Pauli <pauli at openssl.org>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M crypto/x509/pcy_map.c

  Log Message:
  -----------
  x509: fix double locking problem

This reverts commit 9aa4be691f5c73eb3c68606d824c104550c053f7 and removed the
redundant flag setting.

Fixes #19643

Fixes LOW CVE-2022-3996

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19652)

(cherry picked from commit 4d0340a6d2f327700a059f0b8f954d6160f8eef5)


  Commit: 6fbbb53477a13508f7b2be5ab63e5a6c70ed4778
      https://github.com/openssl/openssl/commit/6fbbb53477a13508f7b2be5ab63e5a6c70ed4778
  Author: Pauli <pauli at openssl.org>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    A test/certs/pkitsta.pem
    M test/recipes/80-test_cms.t
    A test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml

  Log Message:
  -----------
  test: add test case for deadlock reported in #19643

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19652)

(cherry picked from commit 61203c2c59df5d0022e316a4fe614e5d18907715)


Compare: https://github.com/openssl/openssl/compare/9a5c884999a5...6fbbb53477a1


More information about the openssl-commits mailing list