linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-bluetooth@vger.kernel.org,
	Marcel Holtmann <marcel@holtmann.org>,
	Gustavo Padovan <gustavo@padovan.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Linux PM List <linux-pm@lists.linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: linux-next: Tree for Apr 26 [ bluetooth on suspend/resume ]
Date: Fri, 26 Apr 2013 15:04:27 -0700	[thread overview]
Message-ID: <20130426220427.GE1433@mtj.dyndns.org> (raw)
In-Reply-To: <CA+icZUVWRkP_fxTH22ywx9Ntnnp1xW_2dVRjwTvBfs0eJBcEVg@mail.gmail.com>

On Fri, Apr 26, 2013 at 11:07:44PM +0200, Sedat Dilek wrote:
> > The second argument %rsi is zero, which got transferred to %r13 and
> > then offset deref on it trapped.
> >
> > The second argument is @wq and the oopsing code is the wq->flags deref
> > in the following if condition.
> >
> >         /* if dying, only works from the same workqueue are allowed */
> >         if (unlikely(wq->flags & __WQ_DRAINING) &&
> >                 WARN_ON_ONCE(!is_chained_work(wq)))
> >                 return;
> >
> > So, umm, don't pass in NULL as @wq. :)
> >
> 
> Do you have a patch for this?

Heh, I haven't even looked at the caller.  It's a bug on the workqueue
user side.

Thanks.

-- 
tejun

  reply	other threads:[~2013-04-26 22:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 17:30 linux-next: Tree for Apr 26 [ bluetooth on suspend/resume ] Sedat Dilek
2013-04-26 17:32 ` Sedat Dilek
     [not found]   ` <CA+icZUXeDT8x60iUtjJV2GO5KkDnm8CJsz8mntz5hREoOD+YJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-26 17:40     ` Sedat Dilek
2013-04-26 18:22       ` Tejun Heo
2013-04-26 18:31         ` Sedat Dilek
     [not found]           ` <CA+icZUW5t8gAjBbKaJUFGabCXvxb8QXEE3Yn5=EpbDfUNHM60w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-26 18:43             ` Frederic Weisbecker
     [not found]               ` <CAFTL4hyPLQQNbsoh9FYFg+VbGicREFZdP6Sc0V+EfgdWuwSOmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-26 19:13                 ` Sedat Dilek
     [not found]         ` <20130426182239.GA25767-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2013-04-26 21:07           ` Sedat Dilek
2013-04-26 22:04             ` Tejun Heo [this message]
     [not found]               ` <20130426220427.GE1433-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2013-04-26 23:24                 ` Sedat Dilek
     [not found]       ` <CA+icZUWkyP9TE0eeqstyvVNP++MtN8rYfGcPBT6NuMOHEHm7dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-10 17:30         ` Gustavo Padovan
2013-07-11  7:50           ` Sedat Dilek

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=20130426220427.GE1433@mtj.dyndns.org \
    --to=tj@kernel.org \
    --cc=gustavo@padovan.org \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=marcel@holtmann.org \
    --cc=rjw@sisk.pl \
    --cc=sedat.dilek@gmail.com \
    --cc=sfr@canb.auug.org.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).