On 10/09/2024 15:26, Eric W. Biederman wrote:
> Breno Leitao writes:
>
>> We've seen a problem in upstream kernel kexec, where a EFI TPM log event
>> table
>> is being overwritten. This problem happen on real machine, as well as in a
>> recent EDK2 qemu VM.
>>
>> Digging deep, the table is b
On Tue, Sep 10, 2024 at 08:44:40AM GMT, Andrew Fish via groups.io wrote:
>
>
> > On Sep 10, 2024, at 6:58 AM, Breno Leitao wrote:
> >
> >
> > We've seen a problem in upstream kernel kexec, where a EFI TPM log event
> > table
> > is being overwritten. This problem happen on real machine, as w
On Tue, Sep 10, 2024 at 09:09:21AM -0700, Breno Leitao wrote:
> hello Usama,
>
> On Tue, Sep 10, 2024 at 04:46:15PM +0100, Usama Arif wrote:
> > --- a/drivers/firmware/efi/tpm.c
> > +++ b/drivers/firmware/efi/tpm.c
> > @@ -60,7 +60,9 @@ int __init efi_tpm_eventlog_init(void)
> > }
> >
> >
hello Usama,
On Tue, Sep 10, 2024 at 04:46:15PM +0100, Usama Arif wrote:
> --- a/drivers/firmware/efi/tpm.c
> +++ b/drivers/firmware/efi/tpm.c
> @@ -60,7 +60,9 @@ int __init efi_tpm_eventlog_init(void)
> }
>
> tbl_size = sizeof(*log_tbl) + log_tbl->size;
> - memblock_reserve(efi.
On 10/09/2024 15:26, Eric W. Biederman wrote:
> Breno Leitao writes:
>
>> We've seen a problem in upstream kernel kexec, where a EFI TPM log event
>> table
>> is being overwritten. This problem happen on real machine, as well as in a
>> recent EDK2 qemu VM.
>>
>> Digging deep, the table is b
> On Sep 10, 2024, at 6:58 AM, Breno Leitao wrote:
>
>
> We've seen a problem in upstream kernel kexec, where a EFI TPM log event table
> is being overwritten. This problem happen on real machine, as well as in a
> recent EDK2 qemu VM.
>
> Digging deep, the table is being overwritten during
We've seen a problem in upstream kernel kexec, where a EFI TPM log event table
is being overwritten. This problem happen on real machine, as well as in a
recent EDK2 qemu VM.
Digging deep, the table is being overwritten during kexec, more precisely when
relocating kernel (relocate_kernel() func
Hello Eric,
On Tue, Sep 10, 2024 at 09:26:00AM -0500, Eric W. Biederman wrote:
> > I am wondering if that memory region/range should be part of e820 table
> > that is
> > passed by EFI firmware to kernel, and if it is not passed (as it is not
> > being
> > passed today), then the kernel doesn't