Kernel Bug/oops during boot (PowerVM LPAR w/vTPM)

Nayna nayna at linux.vnet.ibm.com
Thu Jul 4 13:36:29 AEST 2019


Hi Sachin and Michal,


On 07/03/2019 05:15 PM, Michal Suchánek wrote:
> On Wed, 3 Jul 2019 13:17:16 +0200
> Michal Suchánek <msuchanek at suse.de> wrote:
>
>> On Wed, 3 Jul 2019 15:54:59 +0530
>> Sachin Sant <sachinp at linux.vnet.ibm.com> wrote:
>>
>>> Booting mainline kernel on PowerVM LPAR with vTPM enabled results
>>> into a kernel crash.
>>>
>>> [    0.365989] BUG: Kernel NULL pointer dereference at 0x00000012
> ...
>>> [    0.366085] NIP [c00000000073dd80] tpm1_pcr_extend+0x130/0x230
>>> [    0.366090] LR [c00000000073dcd0] tpm1_pcr_extend+0x80/0x230
> ...
>> You need to revert (or fix up) commit 0b6cf6b97b7e ("tpm: pass an array
>> of tpm_extend_digest structures to tpm_pcr_extend()". At least
>> reverting it fixes the issue for me.
> FTR this is the revert on lkml https://lkml.org/lkml/2019/7/1/423
>
>


I have just now posted the fix for this to the mailing list and copied 
both of you. I would appreciate your testing and confirming that the 
patch "tpm: fixes uninitialized allocated banks for IBM vtpm driver" 
addresses this bug.

Thanks & Regards,
       - Nayna




More information about the Linuxppc-dev mailing list