Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-17 Thread Oleg Nesterov
On 03/16, Al Viro wrote: > > On Fri, Mar 15, 2013 at 07:19:56PM +0100, Oleg Nesterov wrote: > > > Cough... I am shy to disclose my ignorance, but could you explain how > > open_exec()->do_filp_open(MAY_EXEC) can succeed in this case? At least > > acl_permission_check() looks as if open_exec()

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-17 Thread Oleg Nesterov
On 03/16, Al Viro wrote: On Fri, Mar 15, 2013 at 07:19:56PM +0100, Oleg Nesterov wrote: Cough... I am shy to disclose my ignorance, but could you explain how open_exec()-do_filp_open(MAY_EXEC) can succeed in this case? At least acl_permission_check() looks as if open_exec() should fail...

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-16 Thread Al Viro
On Fri, Mar 15, 2013 at 07:19:56PM +0100, Oleg Nesterov wrote: > On 03/15, Al Viro wrote: > > > > On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: > > > Hi all, > > > > > > While fuzzing with trinity inside a KVM tools guest running latest -next > > > kernel > > > I've stumbled on the

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-16 Thread Al Viro
On Fri, Mar 15, 2013 at 07:19:56PM +0100, Oleg Nesterov wrote: On 03/15, Al Viro wrote: On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following.

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-15 Thread Oleg Nesterov
On 03/15, Al Viro wrote: > > On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: > > Hi all, > > > > While fuzzing with trinity inside a KVM tools guest running latest -next > > kernel > > I've stumbled on the following. > > > > Dave Jones reported something similar, but that seemed to

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-15 Thread Oleg Nesterov
On 03/15, Al Viro wrote: On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following. Dave Jones reported something similar, but that seemed to involve cgroup's

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-14 Thread Al Viro
On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next > kernel > I've stumbled on the following. > > Dave Jones reported something similar, but that seemed to involve cgroup's > mutex > and didn't

vfs: lockdep splat with prepare_bprm_creds

2013-03-14 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following. Dave Jones reported something similar, but that seemed to involve cgroup's mutex and didn't seem like it was the same issue as this one. [ 549.400084]

vfs: lockdep splat with prepare_bprm_creds

2013-03-14 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following. Dave Jones reported something similar, but that seemed to involve cgroup's mutex and didn't seem like it was the same issue as this one. [ 549.400084]

Re: vfs: lockdep splat with prepare_bprm_creds

2013-03-14 Thread Al Viro
On Fri, Mar 15, 2013 at 12:07:14AM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following. Dave Jones reported something similar, but that seemed to involve cgroup's mutex and didn't seem like it