[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wj_29VY5rpchsw8NWz6=akW1Sgj9rYUtUmYvJAkbVa=3w@mail.gmail.com>
Date: Mon, 30 Aug 2021 15:26:39 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Al Viro <viro@...iv.linux.org.uk>,
Dan Williams <dan.j.williams@...el.com>,
Borislav Petkov <bp@...en8.de>,
LKML <linux-kernel@...r.kernel.org>,
"the arch/x86 maintainers" <x86@...nel.org>
Subject: Re: [patch 01/10] x86/fpu/signal: Clarify exception handling in restore_fpregs_from_user()
On Mon, Aug 30, 2021 at 3:12 PM Thomas Gleixner <tglx@...utronix.de> wrote:
>
> It's not only about #MC. *RSTOR can also trigger #GP in case that the
> user buffer contains garbage and we clearly don't want to loop forever
> on that either.
Ok, that does seem to merit a the error code check.
Ugh. It leaves that #MC case for other random accesses, though.
Linus
Powered by blists - more mailing lists