linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Zefan Li <lizefan@huawei.com>,
	syzbot <syzbot+87b93137e0280beaeba1@syzkaller.appspotmail.com>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk
Subject: Re: WARNING: lock held when returning to user space in grab_super
Date: Wed, 2 Jan 2019 08:16:40 -0800	[thread overview]
Message-ID: <20190102161640.GS2509588@devbig004.ftw2.facebook.com> (raw)
In-Reply-To: <a6e8d929-3765-ad70-0f7c-942b68d7b25c@I-love.SAKURA.ne.jp>

Happy new year, Tetsuo.

On Wed, Jan 02, 2019 at 09:08:56PM +0900, Tetsuo Handa wrote:
> According to commit 633feee310de6b6c ("cgroup: refactor mount path and
> clearly distinguish v1 and v2 paths"), cgroup_do_mount() is failing to
> do full teardown steps for kernfs_mount() (deactivate_locked_super() ?)
> when kernfs_node_dentry() failed.

Hmm... that's basically dget()'ing the root dentry of the sb.  I'm not
sure how that could fail.  Can it?

Thanks.

-- 
tejun

  reply	other threads:[~2019-01-02 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-02 12:06 WARNING: lock held when returning to user space in grab_super syzbot
2019-01-02 12:08 ` Tetsuo Handa
2019-01-02 16:16   ` Tejun Heo [this message]
2019-01-02 16:49     ` Tetsuo Handa
2019-01-02 16:55       ` Tejun Heo

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=20190102161640.GS2509588@devbig004.ftw2.facebook.com \
    --to=tj@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --cc=syzbot+87b93137e0280beaeba1@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=viro@zeniv.linux.org.uk \
    /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).