device doesn't boot with kernel older than v5.7.7 on a usb key: hang at efi_tpm_eventlog_init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Medium
|
You-Sheng Yang | ||
linux-oem-5.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
You-Sheng Yang |
Bug Description
[SRU Justification]
[Impact]
Some systems may hang at boot. With "earlycon=efifb", more debug
messages for EFI are dumpped. Last call trace as:
RIP: 0010:efi_
...
Call Trace:
efi_
efi_
? e820__print_
setup_
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.
========== Original Bug Description ==========
[Summary] device doesn't boot with kernel older than v5.7.7 on USB key
[Steps to reproduce]
1. Try to boot a green installation of Ubuntu Focal on a USB key.
[Expected result]
Boot up normally.
[Actual result]
Stuck at "loading initial ramdisk". With "earlycon=efifb", more debug messages for EFI are dumpped. Last call trace as:
RIP: 0010:efi_
...
Call Trace:
efi_
efi_
? e820__print_
setup_
[Failure rate]
10/10
[Additional information]
https:/
The fix is in linux-5.7.y and v5.8-rc3, and focal 5.4 and oem-5.6 are affected.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.8.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CasperMD5CheckR
Date: Tue Aug 25 02:51:58 2020
InstallationDate: Installed on 2020-07-21 (35 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Dell Inc. Inspiron 3500
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.187.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/05/2020
dmi.bios.release: 0.4
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 0.4.3
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Inspiron
dmi.product.name: Inspiron 3500
dmi.product.sku: 0A25
dmi.sys.vendor: Dell Inc.
CVE References
description: | updated |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
This change was made by a bot.