[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whOU=Ek3C6=r2xkTtdv==He=KxUjz_8x2Jo3nJJiDW3VQ@mail.gmail.com>
Date: Fri, 1 Feb 2019 09:49:05 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org,
stable <stable@...r.kernel.org>,
James Morris <jmorris@...ei.org>,
Tomas Winkler <tomas.winkler@...el.com>,
Jerry Snitselaar <jsnitsel@...hat.com>
Subject: Re: [PATCH] tpm/tpm_crb: Avoid unaligned reads in crb_recv():
On Fri, Feb 1, 2019 at 3:33 AM Jarkko Sakkinen
<jarkko.sakkinen@...ux.intel.com> wrote:
>
> Thus, it makes sense to fix this also in tpm_crb, not least because
> the fix can be then backported to stable kernels and make them more robust
> when compiled in differing environments.
Ack, looks sane to me, and should help both the backport and probably
generate better code too.
In the meantime, I've committed the iomem.c change with a *long*
commit message. For all we know, there might be other cases like this
lurking somewhere else that just happened to work. Plus it's the right
thing to do anyway.
Linus
Powered by blists - more mailing lists