Re: mm/sched/net: BUG when running simple code

2014-07-08 Thread Sasha Levin
On 07/08/2014 10:51 AM, Peter Zijlstra wrote: > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: >> Hi all, >> >> Okay, I'm really lost. I got the following when fuzzing, and can't really >> explain what's going on. It seems that we get a "unable to handle kernel >> paging request"

Re: mm/sched/net: BUG when running simple code

2014-07-08 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > Hi all, > > Okay, I'm really lost. I got the following when fuzzing, and can't really > explain what's > going on. It seems that we get a "unable to handle kernel paging request" > when running > rather simple code, and I can't

Re: mm/sched/net: BUG when running simple code

2014-07-08 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a unable to handle kernel paging request when running rather simple code, and I can't figure out

Re: mm/sched/net: BUG when running simple code

2014-07-08 Thread Sasha Levin
On 07/08/2014 10:51 AM, Peter Zijlstra wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a unable to handle kernel paging request when running

Re: mm/sched/net: BUG when running simple code

2014-06-16 Thread Dan Aloni
On Mon, Jun 16, 2014 at 11:17:55PM -0400, Sasha Levin wrote: > On 06/13/2014 12:13 AM, Dave Jones wrote: > > On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: > > another theory: Trinity can sometimes generate plausible looking module > > addresses and pass those in structs etc. > > >

Re: mm/sched/net: BUG when running simple code

2014-06-16 Thread Sasha Levin
On 06/13/2014 12:13 AM, Dave Jones wrote: > On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: > > On 06/12/2014 11:27 PM, Dan Aloni wrote: > > > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > > >> > Hi all, > > >> > > > >> > Okay, I'm really lost. I got the

Re: mm/sched/net: BUG when running simple code

2014-06-16 Thread Sasha Levin
On 06/13/2014 12:13 AM, Dave Jones wrote: On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: On 06/12/2014 11:27 PM, Dan Aloni wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and

Re: mm/sched/net: BUG when running simple code

2014-06-16 Thread Dan Aloni
On Mon, Jun 16, 2014 at 11:17:55PM -0400, Sasha Levin wrote: On 06/13/2014 12:13 AM, Dave Jones wrote: On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: another theory: Trinity can sometimes generate plausible looking module addresses and pass those in structs etc. I wonder

Re: mm/sched/net: BUG when running simple code

2014-06-13 Thread Sasha Levin
On 06/13/2014 12:13 AM, Dave Jones wrote: > On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: > > On 06/12/2014 11:27 PM, Dan Aloni wrote: > > > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > > >> > Hi all, > > >> > > > >> > Okay, I'm really lost. I got the

Re: mm/sched/net: BUG when running simple code

2014-06-13 Thread Sasha Levin
On 06/13/2014 12:13 AM, Dave Jones wrote: On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: On 06/12/2014 11:27 PM, Dan Aloni wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 07:55:55AM +0300, Dan Aloni wrote: > And also, the Oops code of 0003 (PF_WRITE and PF_USER) might hint at > what Dave wrote. Scrape what I wrote about that, it's PF_PROT | PF_WRITE. -- Dan Aloni -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 07:55:55AM +0300, Dan Aloni wrote: > > that theory went away. (also confirmed by not finding a netlink module.) > > > > What about the kernel .text overflowing into the modules space? The loader > > checks for that, but can something like that happen after everything is >

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: > On 06/12/2014 11:27 PM, Dan Aloni wrote: > > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > >> > Hi all, > >> > > >> > Okay, I'm really lost. I got the following when fuzzing, and can't > >> > really explain what's >

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dave Jones
On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: > On 06/12/2014 11:27 PM, Dan Aloni wrote: > > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > >> > Hi all, > >> > > >> > Okay, I'm really lost. I got the following when fuzzing, and can't > >> > really explain

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Sasha Levin
On 06/12/2014 11:27 PM, Dan Aloni wrote: > On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: >> > Hi all, >> > >> > Okay, I'm really lost. I got the following when fuzzing, and can't really >> > explain what's >> > going on. It seems that we get a "unable to handle kernel paging

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: > Hi all, > > Okay, I'm really lost. I got the following when fuzzing, and can't really > explain what's > going on. It seems that we get a "unable to handle kernel paging request" > when running > rather simple code, and I can't

mm/sched/net: BUG when running simple code

2014-06-12 Thread Sasha Levin
Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a "unable to handle kernel paging request" when running rather simple code, and I can't figure out how it would cause it. The code in question is (in

mm/sched/net: BUG when running simple code

2014-06-12 Thread Sasha Levin
Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a unable to handle kernel paging request when running rather simple code, and I can't figure out how it would cause it. The code in question is (in

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a unable to handle kernel paging request when running rather simple code, and I can't figure out

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Sasha Levin
On 06/12/2014 11:27 PM, Dan Aloni wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems that we get a unable to handle kernel paging request when

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dave Jones
On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: On 06/12/2014 11:27 PM, Dan Aloni wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on.

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 12:01:37AM -0400, Sasha Levin wrote: On 06/12/2014 11:27 PM, Dan Aloni wrote: On Thu, Jun 12, 2014 at 10:56:16PM -0400, Sasha Levin wrote: Hi all, Okay, I'm really lost. I got the following when fuzzing, and can't really explain what's going on. It seems

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 07:55:55AM +0300, Dan Aloni wrote: that theory went away. (also confirmed by not finding a netlink module.) What about the kernel .text overflowing into the modules space? The loader checks for that, but can something like that happen after everything is up and

Re: mm/sched/net: BUG when running simple code

2014-06-12 Thread Dan Aloni
On Fri, Jun 13, 2014 at 07:55:55AM +0300, Dan Aloni wrote: And also, the Oops code of 0003 (PF_WRITE and PF_USER) might hint at what Dave wrote. Scrape what I wrote about that, it's PF_PROT | PF_WRITE. -- Dan Aloni -- To unsubscribe from this list: send the line unsubscribe linux-kernel in