Re: [PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-19 Thread Michael Ellerman
On Sat, 2015-10-17 at 10:04 +0530, Vasant Hegde wrote: > On 10/16/2015 11:49 PM, Denis Kirjanov wrote: > > On 10/16/15, Vasant Hegde wrote: > > > On 10/16/2015 04:02 PM, Denis Kirjanov wrote: > > > > On 10/16/15, Vasant Hegde wrote: > > > > > Currently we do not validate rtas entry before calling

Re: [PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-16 Thread Vasant Hegde
On 10/16/2015 11:49 PM, Denis Kirjanov wrote: > On 10/16/15, Vasant Hegde wrote: >> On 10/16/2015 04:02 PM, Denis Kirjanov wrote: >>> On 10/16/15, Vasant Hegde wrote: Currently we do not validate rtas entry before calling enter_rtas(). This is resulting in a kernel oops (see below)

Re: [PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-16 Thread Denis Kirjanov
On 10/16/15, Vasant Hegde wrote: > On 10/16/2015 04:02 PM, Denis Kirjanov wrote: >> On 10/16/15, Vasant Hegde wrote: >>> Currently we do not validate rtas entry before calling enter_rtas(). >>> This >>> is resulting in a kernel oops (see below) when user space calls rtas >>> system >>> call on Po

Re: [PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-16 Thread Vasant Hegde
On 10/16/2015 04:02 PM, Denis Kirjanov wrote: > On 10/16/15, Vasant Hegde wrote: >> Currently we do not validate rtas entry before calling enter_rtas(). This >> is resulting in a kernel oops (see below) when user space calls rtas system >> call on PowerNV platform. We hit below oops when we ran tr

Re: [PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-16 Thread Denis Kirjanov
On 10/16/15, Vasant Hegde wrote: > Currently we do not validate rtas entry before calling enter_rtas(). This > is resulting in a kernel oops (see below) when user space calls rtas system > call on PowerNV platform. We hit below oops when we ran trinity (system call > fuzzer) on PowerNV. This patch

[PATCH] rtas: Validate rtas entry before calling enter_rtas

2015-10-16 Thread Vasant Hegde
Currently we do not validate rtas entry before calling enter_rtas(). This is resulting in a kernel oops (see below) when user space calls rtas system call on PowerNV platform. We hit below oops when we ran trinity (system call fuzzer) on PowerNV. This patch adds code to validate rtas entry before m