* CKI team seeing boot failures with 5.19 kernels on VMs with tpm device @ 2022-06-13 14:47 Jerry Snitselaar 2022-06-15 19:53 ` Jarkko Sakkinen 0 siblings, 1 reply; 5+ messages in thread From: Jerry Snitselaar @ 2022-06-13 14:47 UTC (permalink / raw) To: linux-integrity, Jarkko Sakkinen, Stefan Mahnke-Hartmann This came to my attention this morning, and I was able to do a quick test and reproduce in a vm locally, using both the crb and tis emulation. 5.18 boots up fine. The only thing I see that could impact both crb and tis in the tpm changes would be: af402ee3c045 tpm: Add field upgrade mode support for Infineon TPM2 modules | 2022-05-23 | (Stefan Mahnke-Hartmann) e57b2523bd37 tpm: Fix buffer access in tpm2_get_tpm_pt() | 2022-05-23 | (Stefan Mahnke-Hartmann) I'm going to poke around some more and see if I can figure out what is going on, but wanted to give you a heads up. Regards, Jerry ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CKI team seeing boot failures with 5.19 kernels on VMs with tpm device 2022-06-13 14:47 CKI team seeing boot failures with 5.19 kernels on VMs with tpm device Jerry Snitselaar @ 2022-06-15 19:53 ` Jarkko Sakkinen 2022-06-15 22:52 ` Jerry Snitselaar 0 siblings, 1 reply; 5+ messages in thread From: Jarkko Sakkinen @ 2022-06-15 19:53 UTC (permalink / raw) To: Jerry Snitselaar; +Cc: linux-integrity, Jarkko Sakkinen, Stefan Mahnke-Hartmann On Mon, Jun 13, 2022 at 07:47:40AM -0700, Jerry Snitselaar wrote: > This came to my attention this morning, and I was able to do a quick > test and reproduce in a vm locally, using both the crb and tis > emulation. 5.18 boots up fine. > > The only thing I see that could impact both crb and tis in the tpm > changes would be: > > af402ee3c045 tpm: Add field upgrade mode support for Infineon TPM2 > modules | 2022-05-23 | (Stefan Mahnke-Hartmann) > e57b2523bd37 tpm: Fix buffer access in tpm2_get_tpm_pt() | 2022-05-23 > | (Stefan Mahnke-Hartmann) > > I'm going to poke around some more and see if I can figure out what is > going on, but wanted to give you a heads up. > > Regards, > Jerry > OK, thanks for spotting this. BR, Jarkko ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CKI team seeing boot failures with 5.19 kernels on VMs with tpm device 2022-06-15 19:53 ` Jarkko Sakkinen @ 2022-06-15 22:52 ` Jerry Snitselaar 2022-06-19 3:46 ` Jerry Snitselaar 2022-06-26 6:08 ` Jarkko Sakkinen 0 siblings, 2 replies; 5+ messages in thread From: Jerry Snitselaar @ 2022-06-15 22:52 UTC (permalink / raw) To: Jarkko Sakkinen; +Cc: linux-integrity, Jarkko Sakkinen, Stefan Mahnke-Hartmann On Wed, Jun 15, 2022 at 12:55 PM Jarkko Sakkinen <jarkko@kernel.org> wrote: > > On Mon, Jun 13, 2022 at 07:47:40AM -0700, Jerry Snitselaar wrote: > > This came to my attention this morning, and I was able to do a quick > > test and reproduce in a vm locally, using both the crb and tis > > emulation. 5.18 boots up fine. > > > > The only thing I see that could impact both crb and tis in the tpm > > changes would be: > > > > af402ee3c045 tpm: Add field upgrade mode support for Infineon TPM2 > > modules | 2022-05-23 | (Stefan Mahnke-Hartmann) > > e57b2523bd37 tpm: Fix buffer access in tpm2_get_tpm_pt() | 2022-05-23 > > | (Stefan Mahnke-Hartmann) > > > > I'm going to poke around some more and see if I can figure out what is > > going on, but wanted to give you a heads up. > > > > Regards, > > Jerry > > > > OK, thanks for spotting this. > > BR, Jarkko > Whatever it was it wasn't the tpm code, and it looks like it has disappeared with v5.19-rc2. Regards, Jerry ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CKI team seeing boot failures with 5.19 kernels on VMs with tpm device 2022-06-15 22:52 ` Jerry Snitselaar @ 2022-06-19 3:46 ` Jerry Snitselaar 2022-06-26 6:08 ` Jarkko Sakkinen 1 sibling, 0 replies; 5+ messages in thread From: Jerry Snitselaar @ 2022-06-19 3:46 UTC (permalink / raw) To: Jarkko Sakkinen; +Cc: linux-integrity, Jarkko Sakkinen, Stefan Mahnke-Hartmann On Wed, Jun 15, 2022 at 03:52:14PM -0700, Jerry Snitselaar wrote: > On Wed, Jun 15, 2022 at 12:55 PM Jarkko Sakkinen <jarkko@kernel.org> wrote: > > > > On Mon, Jun 13, 2022 at 07:47:40AM -0700, Jerry Snitselaar wrote: > > > This came to my attention this morning, and I was able to do a quick > > > test and reproduce in a vm locally, using both the crb and tis > > > emulation. 5.18 boots up fine. > > > > > > The only thing I see that could impact both crb and tis in the tpm > > > changes would be: > > > > > > af402ee3c045 tpm: Add field upgrade mode support for Infineon TPM2 > > > modules | 2022-05-23 | (Stefan Mahnke-Hartmann) > > > e57b2523bd37 tpm: Fix buffer access in tpm2_get_tpm_pt() | 2022-05-23 > > > | (Stefan Mahnke-Hartmann) > > > > > > I'm going to poke around some more and see if I can figure out what is > > > going on, but wanted to give you a heads up. > > > > > > Regards, > > > Jerry > > > > > > > OK, thanks for spotting this. > > > > BR, Jarkko > > > > Whatever it was it wasn't the tpm code, and it looks like it has > disappeared with v5.19-rc2. > > Regards, > Jerry > It looks like the problem was fixed by: 228432551bd8 ("virtio-rng: make device ready before making request") If I revert this on 5.19-rc2, I see the problem again. One of the commits it lists as fixing is: 8b4ec69d7e09 ("virtio: harden vring IRQ") If I go to a build prior to that it comes up fine. So looks like it was introduced by 8b4ec69d7e09 and fixed with 228432551bd8. Regards, Jerry ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CKI team seeing boot failures with 5.19 kernels on VMs with tpm device 2022-06-15 22:52 ` Jerry Snitselaar 2022-06-19 3:46 ` Jerry Snitselaar @ 2022-06-26 6:08 ` Jarkko Sakkinen 1 sibling, 0 replies; 5+ messages in thread From: Jarkko Sakkinen @ 2022-06-26 6:08 UTC (permalink / raw) To: Jerry Snitselaar; +Cc: linux-integrity, Jarkko Sakkinen, Stefan Mahnke-Hartmann On Wed, Jun 15, 2022 at 03:52:14PM -0700, Jerry Snitselaar wrote: > On Wed, Jun 15, 2022 at 12:55 PM Jarkko Sakkinen <jarkko@kernel.org> wrote: > > > > On Mon, Jun 13, 2022 at 07:47:40AM -0700, Jerry Snitselaar wrote: > > > This came to my attention this morning, and I was able to do a quick > > > test and reproduce in a vm locally, using both the crb and tis > > > emulation. 5.18 boots up fine. > > > > > > The only thing I see that could impact both crb and tis in the tpm > > > changes would be: > > > > > > af402ee3c045 tpm: Add field upgrade mode support for Infineon TPM2 > > > modules | 2022-05-23 | (Stefan Mahnke-Hartmann) > > > e57b2523bd37 tpm: Fix buffer access in tpm2_get_tpm_pt() | 2022-05-23 > > > | (Stefan Mahnke-Hartmann) > > > > > > I'm going to poke around some more and see if I can figure out what is > > > going on, but wanted to give you a heads up. > > > > > > Regards, > > > Jerry > > > > > > > OK, thanks for spotting this. > > > > BR, Jarkko > > > > Whatever it was it wasn't the tpm code, and it looks like it has > disappeared with v5.19-rc2. > > Regards, > Jerry OK good to hear. Thank you anyway giving heads up! BR, Jarkko ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-26 6:08 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-06-13 14:47 CKI team seeing boot failures with 5.19 kernels on VMs with tpm device Jerry Snitselaar 2022-06-15 19:53 ` Jarkko Sakkinen 2022-06-15 22:52 ` Jerry Snitselaar 2022-06-19 3:46 ` Jerry Snitselaar 2022-06-26 6:08 ` Jarkko Sakkinen
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.