tpm: fix TIS locality timeout problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Ivan Hu | ||
linux-oem-5.6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Ivan Hu | ||
linux-oem-osp1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Ivan Hu |
Bug Description
[Impact]
It has been reported that some TIS based TPMs are giving unexpected errors when using the O_NONBLOCK path of the TPM device. The problem is that some TPMs don't like it when you get and then relinquish a locality (as the tpm_try_
PatchLink: https:/
[Fix]
Fix this by moving the tpm_try_get_ops()
further down the code to after the O_NONBLOCK determination is made.
This is safe because the priv->buffer_mutex still protects the priv
state being modified.
[Regression Risk]
Low. This patch only for fix the patch d23d12484307 ("tpm: fix invalid locking in NONBLOCKING mode").
CVE References
description: | updated |
description: | updated |
no longer affects: | linux-oem-osp1 (Ubuntu Focal) |
no longer affects: | linux (Ubuntu Bionic) |
no longer affects: | linux-oem-5.6 (Ubuntu Bionic) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in linux-oem-5.6 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-osp1 (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Ivan Hu (ivan.hu) |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
assignee: | nobody → Ivan Hu (ivan.hu) |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
assignee: | nobody → Ivan Hu (ivan.hu) |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
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 1881710
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.