Bug 2569085

Summary: ESAPI parameter encryption broken for unsalted policy sessions in 4.2.0
Product: [Fedora] Fedora Reporter: Karel Srot <ksrot>
Component: tpm2-tssAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: davide, javierm, michel, pbrobinson, yunying.sun
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tpm2-tss-4.2.2-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-16 15:55:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karel Srot 2026-11-09 11:14:44 UTC
This is broken since F45.

ESAPI parameter encryption/decryption is broken for unsalted policy sessions (tpmKey=TPM_RH_NULL, bind=TPM_RH_NULL) with encrypt+decrypt attributes in tpm2-tss 4.2.0. This causes Esys_Load and Esys_Create to produce corrupted results when using this session type with AES-128-CFB parameter encryption.

This is a regression from 4.1.3, where the same operations work correctly.

See upstream report for more details
https://github.com/tpm2-software/tpm2-tss/issues/3145

There is an upstream fix
https://github.com/tpm2-software/tpm2-tss/pull/3123
which hasn't been backported to F45 nor Rawhide and therefore Fedora is still broken.

Reproducible: Always

Steps to Reproduce:
1. See upstream report
2.
3.

Comment 1 Fedora Update System 2026-11-12 11:53:28 UTC
FEDORA-2026-0866c99872 (tpm2-tss-4.2.2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0866c99872

Comment 2 Fedora Update System 2026-11-13 02:24:09 UTC
FEDORA-2026-0866c99872 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0866c99872`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0866c99872

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-11-16 15:55:57 UTC
FEDORA-2026-0866c99872 (tpm2-tss-4.2.2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.