[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8873e8d-358c-18f7-69b8-9c2467eafc4c@intel.com>
Date: Tue, 7 Jan 2020 12:27:46 -0800
From: Tadeusz Struk <tadeusz.struk@...el.com>
To: Laura Abbott <labbott@...hat.com>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: "linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: Bad usercopy from tpm after d23d12484307 ("tpm: fix invalid
locking in NONBLOCKING mode")
On 1/7/20 10:51 AM, Laura Abbott wrote:
> I think this is related to d23d12484307 ("tpm: fix invalid locking in
> NONBLOCKING mode")
> Specifically, if tpm_try_get_ops fails I don't think we should be
> putting the error
> code in priv->response_length since tpm_common_read doesn't seem to
> account for
> negative errno values.
>
> I don't have a reproducer since this was just what was reported to
> Fedora's bug
> reporter but both reports happened after that commit landed in stable.
Thank you for the report Laura. Fix is on the way.
--
Tadeusz
Powered by blists - more mailing lists