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.
Bug 2029355 - Rebase libtpms to at least 0.9.1 for 8.6
Summary: Rebase libtpms to at least 0.9.1 for 8.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libtpms
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.6
Assignee: Marc-Andre Lureau
QA Contact: Qinghua Cheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-06 09:58 UTC by Marc-Andre Lureau
Modified: 2022-05-10 13:42 UTC (History)
7 users (show)

Fixed In Version: libtpms-0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+13725+61ae1949
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 13:24:19 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-104810 0 None None None 2021-12-06 10:04:34 UTC

Description Marc-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.

Comment 1 John Ferlan 2021-12-06 21:37:55 UTC
Moving to Marc-Andre since he is the maintainer (we probably need to fix the RHEL8 bugzilla components)

Comment 3 John Ferlan 2021-12-14 12:31:23 UTC
Can we get a qa_ack+ and ITM set please?

Comment 4 Qinghua Cheng 2021-12-21 04:13:33 UTC
Already set qa_ack+ and ITM, clear my needinfo flag.

Comment 11 Danilo de Paula 2022-01-10 05:50:40 UTC
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)

Comment 12 Yanan Fu 2022-01-10 06:20:33 UTC
Gating test with virt module 13725 pass, add 'Verified:Tested, SanityOnly'

Comment 17 errata-xmlrpc 2022-05-10 13:24:19 UTC
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


Note You need to log in before you can comment on or make changes to this bug.