All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@openvz.org>
To: Vasiliy Kulikov <segoon@openwall.com>
Cc: "Przemysław Pawełczyk" <przemyslaw@pawelczyk.it>,
	lkml <linux-kernel@vger.kernel.org>,
	akpm@linux-foundation.org, "Oleg Nesterov" <oleg@redhat.com>
Subject: Re: [BUG] task->nsproxy was unexpectedly NULL (caught in exit_shm)
Date: Sat, 18 Feb 2012 22:24:36 +0400	[thread overview]
Message-ID: <20120218182436.GB1905@moon> (raw)
In-Reply-To: <20120218173950.GA12595@albatros>

On Sat, Feb 18, 2012 at 09:39:50PM +0400, Vasiliy Kulikov wrote:
...
> > 
> > So task->nsproxy was unexpectedly NULL atm.
> > The bug happened only once so far.
> 
> I'm confused.  How ->nsproxy can be NULL in do_exit()?  AFAIU, it is not a
> special process (i.e. init or udev), but a common chrome process.
> 
> Could it be missing get_nsproxy() somewhere?  And as a result, freed
> current->nsproxy while still having active users.
> 

Probably it would worth to repeat this issue without proprientary
drivers loaded. Also I wonder why don't we use rcu_assign_pointer
for nsproxy in copy_namespaces.

	Cyrill

  reply	other threads:[~2012-02-18 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-18 16:57 [BUG] task->nsproxy was unexpectedly NULL (caught in exit_shm) Przemysław Pawełczyk
2012-02-18 17:39 ` Vasiliy Kulikov
2012-02-18 18:24   ` Cyrill Gorcunov [this message]
2012-02-19 19:40     ` Przemysław Pawełczyk
2012-02-19 20:19       ` Cyrill Gorcunov
2012-02-19 20:40         ` Vasiliy Kulikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120218182436.GB1905@moon \
    --to=gorcunov@openvz.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=przemyslaw@pawelczyk.it \
    --cc=segoon@openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.