Bug 2569085 - ESAPI parameter encryption broken for unsalted policy sessions in 4.2.0
Summary: ESAPI parameter encryption broken for unsalted policy sessions in 4.2.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-tss
Version: 45
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-09 11:14 UTC by Karel Srot
Modified: 2026-11-16 15:55 UTC (History)
5 users (show)

Fixed In Version: tpm2-tss-4.2.2-1.fc45
Clone Of:
Environment:
Last Closed: 2026-11-16 15:55:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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