2018-04-10 08:50:35 |
Alexey Bazhin |
bug |
|
|
added bug |
2018-04-10 09:00:09 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Confirmed |
|
2018-04-10 15:56:23 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
High |
|
2018-04-10 15:56:32 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Bionic |
|
2018-04-10 15:56:32 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-04-10 17:01:53 |
Joseph Salisbury |
linux (Ubuntu Bionic): status |
Confirmed |
Triaged |
|
2018-04-10 17:02:00 |
Joseph Salisbury |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic kernel-da-key |
|
2018-07-06 18:24:52 |
Nicolas Vincent |
bug |
|
|
added subscriber Nicolas Vincent |
2019-02-09 12:39:16 |
Serhiy |
bug |
|
|
added subscriber Serhiy Zahoriya |
2019-02-12 20:41:36 |
Tyler Hicks |
bug |
|
|
added subscriber Tyler Hicks |
2019-02-13 16:23:30 |
Tyler Hicks |
linux (Ubuntu): status |
Triaged |
Fix Released |
|
2019-02-13 16:23:35 |
Tyler Hicks |
linux (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2019-02-13 16:23:38 |
Tyler Hicks |
linux (Ubuntu Bionic): assignee |
|
Tyler Hicks (tyhicks) |
|
2019-02-21 19:25:43 |
Tony Espy |
summary |
TPM on Dell XPS 13 stopped working after upgrade to 18.04 |
TPM intermittently fails after cold-boot |
|
2019-02-21 19:44:37 |
Tony Espy |
description |
[ 0.801334] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 4)
[ 0.812132] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.843629] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.895424] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.987230] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 1.159026] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 1.490819] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 2.142530] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 3.423100] tpm tpm0: TPM self test failed
[ 3.456304] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
Discussion https://lkml.org/lkml/2017/12/6/284
Fix https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/char/tpm/tpm2-cmd.c?id=2be8ffed093b91536d52b5cd2c99b52f605c9ba6
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-generic 4.15.0.13.14
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: baz 2268 F.... pulseaudio
CurrentDesktop: XFCE
Date: Tue Apr 10 11:41:57 2018
EcryptfsInUse: Yes
HibernationDevice: RESUME=/dev/mapper/cryptswap1
InstallationDate: Installed on 2018-03-01 (39 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180301)
MachineType: Dell Inc. XPS 13 9360
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-13-generic root=/dev/mapper/system-root ro quiet splash crashkernel=384M-:128M vt.handoff=1
RelatedPackageVersions:
linux-restricted-modules-4.15.0-13-generic N/A
linux-backports-modules-4.15.0-13-generic N/A
linux-firmware 1.173
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/25/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.5.1
dmi.board.name: 02PG84
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.5.1:bd01/25/2018:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn02PG84:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.sys.vendor: Dell Inc. |
[Impact]
On an 18.04 LTS system with a TPM, the TPM will fail intermittently on cold boots. The problem seems to be that the TPM gets into a state where the partial self-test doesn't return TPM_RC_SUCCESS (meaning all tests have run to completion), but instead returns TPM_RC_TESTING (meaning some tests are still running in the background). A reboot can sometimes restore TPM functionality.
This bug was originally reported on a Dell XPS 13, but has also recently been reported on a Dell Edge Gateway 3000.
The bug has been confirmed to be fixed in the current development release (19.04/Cosmic).
[Test Case]
Cold boot a Dell XPS 13 or Dell Edge Gateway 3000 running 18.04 LTS Desktop or Server and grep for the following error log message:
"tpm tpm0: A TPM error (2314) occurred continue selftest"
Any attempts at using the TPM via tpm2-tss libraries or tpm2-tools should produce errors.
As this bug is due to a race condition, ideally this test case would be run multiple times (20+ cold boots).
Once the patch is installed the following error message may still be present in the syslog, however attempts to use the TPM should work:
"tpm tpm0: A TPM error (2314) occurred attempting the self test"
[Regression Potential]
The chance of regression is low, as this patch was written by a well respected kernel developer with deep TPM experience. The patch is also being cherry-picked from the upstream stable and LTS kernels, and as mentioned, has already landed in Disco.
[Original Description]
After updating a Dell XPS 13 to 18.04 LTS, the TPM started to intermittently fail on cold boot. The following log messages could be observed in syslog:
[ 0.801334] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 4)
[ 0.812132] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.843629] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.895424] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 0.987230] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 1.159026] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 1.490819] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 2.142530] tpm tpm0: A TPM error (2314) occurred continue selftest
[ 3.423100] tpm tpm0: TPM self test failed
[ 3.456304] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
Discussion https://lkml.org/lkml/2017/12/6/284
Fix https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/char/tpm/tpm2-cmd.c?id=2be8ffed093b91536d52b5cd2c99b52f605c9ba6 |
|
2019-02-22 08:55:45 |
Khaled El Mously |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-03-15 23:37:36 |
Brad Figg |
tags |
amd64 apport-bug bionic kernel-da-key |
amd64 apport-bug bionic kernel-da-key verification-needed-bionic |
|
2019-03-28 19:35:01 |
Tony Espy |
tags |
amd64 apport-bug bionic kernel-da-key verification-needed-bionic |
amd64 apport-bug bionic kernel-da-key verification-done-bionic |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2017-5753 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2018-14678 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2018-18021 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2018-19824 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-3459 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-3460 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-6974 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-7221 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-7222 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-7308 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-8912 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-8980 |
|
2019-04-02 10:27:35 |
Launchpad Janitor |
cve linked |
|
2019-9213 |
|
2019-07-24 21:03:15 |
Brad Figg |
tags |
amd64 apport-bug bionic kernel-da-key verification-done-bionic |
amd64 apport-bug bionic cscc kernel-da-key verification-done-bionic |
|