Bug 1855180 - [Lenovo 8.4 FEAT] tpm2-tss - Update with latest bug fixes
Summary: [Lenovo 8.4 FEAT] tpm2-tss - Update with latest bug fixes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: tpm2-tss
Version: 8.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: alpha
: 8.4
Assignee: Jerry Snitselaar
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks: 1848158 1898189 1916350 1916352
TreeView+ depends on / blocked
 
Reported: 2020-07-09 07:36 UTC by Rick
Modified: 2023-08-08 02:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:03:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1662 0 None None None 2021-05-18 15:03:48 UTC

Description Rick 2020-07-09 07:36:30 UTC
1. Feature Overview
    a. Name of feature: tpm2-tss - Update to latest version
    b. Feature description: TPM Software Stack for TPM 2.0

2. Feature Details
    a. Architectures: 64-bit Intel EM64T/AMD64
    b. Bugzilla dependencies:
    c. Drivers or hardware dependencies, including a specific platform or CPU:
       TPM 2.0 chipset
    d. Library or other software dependencies:
    e. Upstream acceptance information, including Linus's kernel version in which the feature appears and the date on which this feature was accepted or is targeted for acceptance into Linus's kernel:
    f. External links: https://github.com/01org/tpm2-tss
    g. Severity (H,M,L): High
    h. Feature required by date (for example, the date on which hardware requiring this feature is planned for launch): RHEL8.4 alpha version

3. Business Justification
    a. Why is this feature needed?
       tpm2-tools dependency
    b. What hardware or software does this enable?
       TPM2.0 chipset
    c. If hardware, is it on-board in a system (eg, LOM) or an add-on card?
       on-board or add-on
    d. Business impact?
       Lenovo server platform needs this.
    e. What market problems / audience does it address?

4. QE Test Plan

5. Primary contact at Red Hat, email, phone (chat)
    a. Monte Knutson
    b. mknutson
    c. office: 919-890-8413

6. Primary contact at Partner, email, phone (chat)
    a. Rick Hsu
    b. rhsu5
    c. +886281707648

Comment 2 Kelvin Shieh 2020-08-10 09:44:02 UTC
commit 76be63d641e01e7a3fcdb987fedadf98e970ba8b

Comment 13 Vilém Maršík 2021-01-30 01:00:51 UTC
Looks good:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    Package       : crypto
    beakerlib RPM : beakerlib-1.21-1.el8bkr.noarch
    Test name     : /kernel/crypto/tpm/tpm2
    Test version  : 0.1
    Test started  : 2021-01-30 00:57:31 EST
    Test finished : 2021-01-30 00:57:44 EST (still running)
    Test duration : 13 seconds
    Distro        : Red Hat Enterprise Linux release 8.4 Beta (Ootpa)
    Hostname      : dell-per7425-02.khw.lab.eng.bos.redhat.com
    Architecture  : x86_64
    CPUs          : 96 x AMD EPYC 7401 24-Core Processor
    RAM size      : 63865 MB
    HDD size      : 340.46 GB

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test description
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Runs different tpm2-tools tests against a TPM2 HW.


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 00:57:31 ] :: [   PASS   ] :: Command 'udevadm trigger --action=change' (Expected 0, got 0)
:: [ 00:57:32 ] :: [   PASS   ] :: starting tpm2-abrmd (Expected 0, got 0)
:: [ 00:57:40 ] :: [   PASS   ] :: Command 'journalctl -xe' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 10s
::   Assertions: 3 good, 0 bad
::   RESULT: PASS (Setup)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Presence
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 00:57:41 ] :: [   PASS   ] :: Command 'tpm2_pcrread -T tabrmd' (Expected 0, got 0)
:: [ 00:57:41 ] :: [   PASS   ] :: 24 PCRS (Assert: "24" should be >= "24")
:: [ 00:57:41 ] :: [   PASS   ] :: File /dev/tpm0 should exist
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 3 good, 0 bad
::   RESULT: PASS (Presence)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Functionality
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 00:57:43 ] :: [   PASS   ] :: Command 'tpm2_nvreadpublic -T tabrmd' (Expected 0, got 0)
:: [ 00:57:43 ] :: [   PASS   ] :: random number generator (Expected 0, got 0)
:: [ 00:57:43 ] :: [   PASS   ] :: random number count (Assert: '20' should equal '20')
:: [ 00:57:43 ] :: [   PASS   ] :: hashing (Expected 0, got 0)
:: [ 00:57:43 ] :: [   PASS   ] :: extending PCR (Expected 0, got 0)
:: [ 00:57:43 ] :: [   PASS   ] :: PCR value changed (Assert: "  4 : 0x76A37B74C527FE301803980B535C0F5C407689AB" should not equal "  4 : 0xEAB9B1E0B6467462BC5D57F496865A0942E4476E")
:: [ 00:57:43 ] :: [   PASS   ] :: tpm2_rc_decode 0x9a2 -> authorization failure (Assert: '1' should equal '1')
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 2s
::   Assertions: 7 good, 0 bad
::   RESULT: PASS (Functionality)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Data RW
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 0 good, 0 bad
::   RESULT: PASS (Data RW)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 0 good, 0 bad
::   RESULT: PASS (Cleanup)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   /kernel/crypto/tpm/tpm2
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 00:57:44 ] :: [   LOG    ] :: JOURNAL XML: /var/tmp/beakerlib-PheEwvN/journal.xml
:: [ 00:57:44 ] :: [   LOG    ] :: JOURNAL TXT: /var/tmp/beakerlib-PheEwvN/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 13s
::   Phases: 5 good, 0 bad
::   OVERALL RESULT: PASS (/kernel/crypto/tpm/tpm2)

# uname -r
4.18.0-275.el8.dt5.x86_64
# rpm -q tpm2-tools tpm2-tss tpm2-abrmd
tpm2-tools-4.1.1-2.el8.x86_64
tpm2-tss-2.3.2-3.el8.x86_64
tpm2-abrmd-2.3.3-2.el8.x86_64

Comment 15 errata-xmlrpc 2021-05-18 15:03:31 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 (tpm2-tss 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/RHBA-2021:1662


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