There is an issue related to this problem on github for tpm2-tss: https://github.com/tpm2-software/tpm2-tss/issues/2691 (/dev/tpmrm0 was used) The error did occur after abbout 200 signing operations when a second session was opened by a second process at the same time. Kernel log: [ 401.923826] tpm tpm0: tpm2_save_context: failed with a TPM error 0x0901 [ 401.925049] tpm tpm0: A TPM error (459) occurred flushing context Juergen