On Tue, Oct 08, 2024 at 02:28:27AM +0300, Jarkko Sakkinen wrote: > > I guess it is TPM2_StartAuthSession returning TPM_RC_VALUE. Probably > James should look into this as the bus encryption code is clearly > tripping here.
OK I've just got a confirmation from the lkp that the tpm RNG is indeed buggy: https://lore.kernel.org/oe-lkp/202503261331.d388f82a-...@intel.com/ Quoting from the kmsg: kern :err : [ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session kern :info : [ 28.775547] resctrl: L3 allocation detected kern :warn : [ 28.777572] ------------[ cut here ]------------ kern :info : [ 28.780433] resctrl: MB allocation detected kern :warn : [ 28.785745] WARNING: CPU: 46 PID: 576 at drivers/char/hw_random/core.c:188 hwrng_fillfn+0x19c/0x1f0 ... kern :warn : [ 28.891243] RAX: 0000000000000903 RBX: ff110001077f6760 RCX: ffa000000ecb7e57 So the return value was 0x903, way bigger than what we asked for (0x40). Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt