mbox series

[0/1,SRU,D] Ubuntu 19.04's Linux kernel 5.0.0-17 has regressed TPM2 functionality

Message ID 1561363813-30900-1-git-send-email-ivan.hu@canonical.com
Headers show
Series Ubuntu 19.04's Linux kernel 5.0.0-17 has regressed TPM2 functionality | expand

Message

Ivan Hu June 24, 2019, 8:10 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1833297

[Impact]
Most of the TPM2 commands fail to execute due to tpm2 kernel driver having async access problem.

[Fix]
Fix an invalid poll condition.

[Test Case]
After applied the fix patch on 19.04, the TPM2 commands tpm2_nvlist and tpm2_pcrlist worked.

[Regression Potential]
Low, only a fix for the commit 9488585b21bef0df12 ("tpm: add support for partial reads")

Tadeusz Struk (1):
  tpm: fix an invalid condition in tpm_common_poll

 drivers/char/tpm/tpm-dev-common.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Stefan Bader June 28, 2019, 2:23 p.m. UTC | #1
On 24.06.19 10:10, Ivan Hu wrote:
> BugLink: https://bugs.launchpad.net/bugs/1833297
> 
> [Impact]
> Most of the TPM2 commands fail to execute due to tpm2 kernel driver having async access problem.
> 
> [Fix]
> Fix an invalid poll condition.
> 
> [Test Case]
> After applied the fix patch on 19.04, the TPM2 commands tpm2_nvlist and tpm2_pcrlist worked.
> 
> [Regression Potential]
> Low, only a fix for the commit 9488585b21bef0df12 ("tpm: add support for partial reads")
> 
> Tadeusz Struk (1):
>   tpm: fix an invalid condition in tpm_common_poll
> 
>  drivers/char/tpm/tpm-dev-common.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
Seems this is already committed via v5.0.10 upstream stable.