lkml.org 
[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-next: Tree for August 19: CRED: BUG: bad unlock balance detected!
Date

Alexander Beregalov <a.beregalov@gmail.com> wrote:

> [ 25.742287] [ BUG: bad unlock balance detected! ]
> [ 25.750284] -------------------------------------
> [ 25.758404] rc/404 is trying to release lock (&p->cred_exec_mutex) at:
> [ 25.766716] [<00000000006aff78>] mutex_unlock+0x10/0x20
> [ 25.775078] but there are no more locks to release!

I forgot to lock cred_exec_mutex in compat_do_execve(). I've posted a patch
which should fix this:

Subject: [PATCH] CRED: Take cred_exec_mutex in compat_do_execve() and fix
error handling in do_execve()

David


\
 
 \ /
  Last update: 2008-08-19 17:27    [W:0.026 / U:9.248 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site