APPLIED Re: [PATCH v2 0/1][SRU][OEM-5.6] Fix system boot hang at efi_tpm_eventlog_init

Timo Aaltonen tjaalton at ubuntu.com
Tue Sep 1 10:32:59 UTC 2020


On 26.8.2020 8.59, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1892827
> 
> [Impact]
> Some systems may hang at boot. With "earlycon=efifb", more debug
> messages for EFI are dumpped. Last call trace as:
> 
>   RIP: 0010:efi_tpm_eventlog_init+0x1aa/0x2a2
>   ...
>   Call Trace:
>    efi_config_parse_tables+0x12d/0x213
>    efi_init+0x218/0x36b
>    ? e820__print_table+0x65/0x6e
>    setup_arch+458/0xa84
> 
> This affects all mainline kernel since v5.2 to v5.7.6. Fix available in
> v5.8-rc3 and has been backported to v5.7.7, v5.4.50.
> 
> [Fix]
> Commit ea3cdcaa43b0 ("efi/tpm: Verify event log header before parsing")
> fixes commit 6b0326190205 ("efi: Attempt to get the TCG2 event log in
> the boot stub").
> 
> [Test Case]
> So far it can be easily reproduced with a green installation of Focal on
> USB key on a few Dell platforms.
> 
> [Regression Potential]
> Low. This checks validity of tmp event log header before parsing them,
> so it affects only platforms might generate invalid entries only.
> 
> [Other Info]
> This affects -generic for eoan and oem-5.6 for focal, but the former has
> be EOL-ed.
> 
> Fabian Vogt (1):
>   efi/tpm: Verify event log header before parsing
> 
>  include/linux/tpm_eventlog.h | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 

applied to oem-5.6, thanks

-- 
t



More information about the kernel-team mailing list