Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMarc-Andre Lureau
2021-12-06 09:58:49 UTC
Rebase libtpms to sync with rhel9 rhbz#2027951, and fix a number of issues and improvements:
version 0.9.0:
- NOTE: Downgrade to previous versions is not possible. See below.
- The size of the context gap has been adjusted to 0xffff from 0xff.
As a consequence of this the volatile state's format (STATE_RESET_DATA)
has changed and cannot be downgraded.
- Applied work-around for Win 2016 & 2019 server related to
TPM2_ContextLoad (issue #217)
- Check for several more compile-time constants
- Enabled Camellia symmetric key encryption algorithm
- tpm2: CryptSym: fix AES output IV
- tpm2: Added a cache for private exponent D and prime Q
- tpm2: bug fixes related to state marshalling
- tpm2: Consume padding bytes in TPM2_ContextLoad() (Win2k19, issue #217)
- tests: Improvements on the fuzzer
- tpm2: Switch to UINT16 for CONTEXT_SLOT and 64k context gap
- tpm2: Update to TPM 2 spec rev 164
- build-sys: Enable building --without-tpm1
- tpm2: Marshal event sequence objects' hash state
- tpm2: Fixes for build and runtime when using OpenSSL 3.0
version 0.8.0
- NOTE: Downgrade to previous versions is not possible. See below.
- Update to TPM 2 code release 159
- X509 support is enabled
- SM2 signing of ceritificates is NOT supported
- Authenticated timers are disabled
- Due to fixes in the TPM 2 prime number generation code in rev155 it is not
possible to downgrade from libtpms version 0.8.0 to some previous version.
The seeds are now associated with an age so that older seeds use the old
TPM 2 prime number generation code while newer seed use the newer code.
- Update to TPM 2 code release 162
- ECC encryption / decryption is disabled
- Fix support for elliptic curve due to missing unmarshalling code
- Runtime filter supported elliptic curves supported by OpenSSL
- Fix output buffer parameter and size for RSA decryption that could cause
stack corruption under certain circumstances
- Set the RSA PSS salt length to the digest length rather than max. possible
- Fixes to symmetric decryption related to input size check,
defer padding to the user [EVP_CIPHER_CTX_set_padding(ctx, 0)] and
to always use a temporary malloc'ed buffer for decryption
- Fixed the set of PCRs belonging to the TCB group. This affects the
pcrUpdateCounter in TPM2_Pcrread() responses, thus needs latest `swtpm`
for test cases to succeed there.
This is not the right errata for the virt components in RHEL-8.6.
the right one is https://errata.devel.redhat.com/advisory/81310
If we remove it now, we need to move back to MODIFIED and it risk losing flags.
Can QE verify the change? We can then remove the BZ without changing its state (if it's in verified)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:1759
Rebase libtpms to sync with rhel9 rhbz#2027951, and fix a number of issues and improvements: version 0.9.0: - NOTE: Downgrade to previous versions is not possible. See below. - The size of the context gap has been adjusted to 0xffff from 0xff. As a consequence of this the volatile state's format (STATE_RESET_DATA) has changed and cannot be downgraded. - Applied work-around for Win 2016 & 2019 server related to TPM2_ContextLoad (issue #217) - Check for several more compile-time constants - Enabled Camellia symmetric key encryption algorithm - tpm2: CryptSym: fix AES output IV - tpm2: Added a cache for private exponent D and prime Q - tpm2: bug fixes related to state marshalling - tpm2: Consume padding bytes in TPM2_ContextLoad() (Win2k19, issue #217) - tests: Improvements on the fuzzer - tpm2: Switch to UINT16 for CONTEXT_SLOT and 64k context gap - tpm2: Update to TPM 2 spec rev 164 - build-sys: Enable building --without-tpm1 - tpm2: Marshal event sequence objects' hash state - tpm2: Fixes for build and runtime when using OpenSSL 3.0 version 0.8.0 - NOTE: Downgrade to previous versions is not possible. See below. - Update to TPM 2 code release 159 - X509 support is enabled - SM2 signing of ceritificates is NOT supported - Authenticated timers are disabled - Due to fixes in the TPM 2 prime number generation code in rev155 it is not possible to downgrade from libtpms version 0.8.0 to some previous version. The seeds are now associated with an age so that older seeds use the old TPM 2 prime number generation code while newer seed use the newer code. - Update to TPM 2 code release 162 - ECC encryption / decryption is disabled - Fix support for elliptic curve due to missing unmarshalling code - Runtime filter supported elliptic curves supported by OpenSSL - Fix output buffer parameter and size for RSA decryption that could cause stack corruption under certain circumstances - Set the RSA PSS salt length to the digest length rather than max. possible - Fixes to symmetric decryption related to input size check, defer padding to the user [EVP_CIPHER_CTX_set_padding(ctx, 0)] and to always use a temporary malloc'ed buffer for decryption - Fixed the set of PCRs belonging to the TCB group. This affects the pcrUpdateCounter in TPM2_Pcrread() responses, thus needs latest `swtpm` for test cases to succeed there.