Kernel panic in tpm_ functions when booting kernel 5.3 in Ubuntu 19.10 (but 5.2 works)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Critical
|
Seth Forshee |
Bug Description
SRU Justification
Impact: Some systems are getting kernel panics during boot while parsing tpm event logs from the firmware. This happens only when the tpm and secure boot are both enabled in the firmware.
Fix: 3 patches which are currently applied to the upstream EFI maintainer tree.
Test Case: On an affected system, booting a 5.3-based kernel will panic during boot when the tpm and secure boot are enabled. A patched kernel will boot successfully. The patches have been verified to fix the issue on a gen 6 Lenovo X1 Carbon.
Regression Potential: If the patches have bugs they could cause regressions on systems not currently experiencing issues. The patches are pretty straightforward though, so I believe the risk is minimal and (given the severity of the issue on affected hardware) acceptable.
---
Image: http://
Device: Dell XPS 13 7390 (201908-27305)
When trying to start the live session ("try Ubuntu") or trying to install the ISO ("install Ubuntu"), the boot process stops within 1 second with a kernel panic (see attached screenshot).
The system could boot with a previous version of Eoan image: 2019-09-09 09:11 (kernel 5.3.0-10)
Workaround: disable TPM2 in the BIOS.
/!\ Please note: the information below (and the attached file ProcCpuinfoMini
=======
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: syslinux 3:6.03+dfsg1-2
ProcVersionSign
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CasperVersion: 1.394
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 26 07:41:16 2019
Dependencies:
gcc-8-base 8.3.0-6ubuntu1~
libc6 2.27-3ubuntu1
libgcc1 1:8.3.0-
mtools 4.0.18-2ubuntu1
syslinux-common 3:6.03+dfsg1-2
LiveMediaBuild: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: syslinux
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
description: | updated |
no longer affects: | syslinux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: rls-ee-incoming |
description: | updated |
tags: | removed: bionic |
summary: |
- Dell XPS 13 7390 - Kernel panic with 19.10 beta image + Kernel panic with 19.10 beta image |
description: | updated |
summary: |
- Kernel panic with 19.10 beta image + Kernel panic in tpm_ functions when booting kernel 5.3 in Ubuntu 19.10 + (but 5.2 works) |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1845454
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.