[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <573120B8.9070805@linux.intel.com>
Date: Mon, 9 May 2016 16:43:52 -0700
From: Dave Hansen <dave.hansen@...ux.intel.com>
To: Yu-cheng Yu <yu-cheng.yu@...el.com>, linux-kernel@...r.kernel.org,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>
Cc: Andy Lutomirski <luto@...nel.org>, Borislav Petkov <bp@...e.de>,
Sai Praneeth Prakhya <sai.praneeth.prakhya@...el.com>,
"Ravi V. Shankar" <ravi.v.shankar@...el.com>,
Fenghua Yu <fenghua.yu@...el.com>
Subject: Re: [PATCH v5 10/13] x86/xsaves: Fix __fpu_restore_sig() for XSAVES
On 05/09/2016 01:46 PM, Yu-cheng Yu wrote:
> When the kernel is using XSAVES compacted format, we cannot do
> __copy_from_user() from a signal frame, which has standard-format data.
> Fix it by using copyin_to_xsaves().
... which converts between formats and filters out all supervisor state,
which we do not want to allow userspace to write.
Reviewed-by: Dave Hansen <dave.hansen@...el.com>
Powered by blists - more mailing lists