Re: [PATCH v5 03/30] arm64: signal: Verify extra data is user-readable in sys_rt_sigreturn

2017-11-01 Thread Catalin Marinas
On Tue, Oct 31, 2017 at 03:50:55PM +, Dave P Martin wrote: > Currently sys_rt_sigreturn() verifies that the base sigframe is > readable, but no similar check is performed on the extra data to > which an extra_context record points. > > This matters because the extra data will be read with the

[PATCH v5 03/30] arm64: signal: Verify extra data is user-readable in sys_rt_sigreturn

2017-10-31 Thread Dave Martin
Currently sys_rt_sigreturn() verifies that the base sigframe is readable, but no similar check is performed on the extra data to which an extra_context record points. This matters because the extra data will be read with the unprotected user accessors. However, this is not a problem at present