Public bug reported:

[Impact]
Certain Infineon TPM devices may experience timeout issues during the boot 
process. This manifests as a communication failure between the kernel driver 
and the TPM hardware.

The issue manifests as a communication failure between the kernel driver and 
the TPM hardware during the boot process. The kernel logs the following error:
`tpm tpm0: tpm_try_transmit: send(): error -62`

Error -62 corresponds to `ETIME` (Timer expired). When this occurs, the
TPM becomes unresponsive. Any critical system services or boot processes
that depend on the TPM will fail, leading to a boot failure or
indefinite wait state.

[Fix]
The issue is resolved by backporting the following 4 commits
1. de9e33df7762 ("tpm, tpm_tis: Workaround failed command reception on Infineon 
devices")
2. 2f661f71fda1 ("tpm: tis: Double the timeout B to 4s")
3. 980a573621ea ("tpm: Make chip->{status,cancel,req_canceled} opt")
4. d4640c394f23 ("tpm: Check for completion after timeout")

[Test Plan]
Run automated reboot loops on an affected Infineon device with the patched 
kernel(kernel snap better).
Grep logs to ensure tpm_try_transmit: send(): error -62 no longer appears.

[Where problems could occur]
Low. The patches extend a specific timeout and add a status verification. The 
primary side effect is a slightly longer wait time (2s increased to 4s) only in 
cases where the TPM is actually unresponsive.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Noble)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137528

Title:
  TPM timeouts occur on some Infineon TPMs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2137528/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to