Re: BUG: unable to handle kernel paging request in dput (2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Omar.

syzbot is reporting a crash due to dput(-EINVAL) [1]. I think the location is

        dir = debugfs_lookup(buts->name, blk_debugfs_root);
        if (!dir)
                bt->dir = dir = debugfs_create_dir(buts->name, blk_debugfs_root);

added by commit 6ac93117ab009d39 ("blktrace: use existing disk debugfs directory").

Currently, Greg Kroah-Hartman is posting patches:

  When calling debugfs functions, there is no need to ever check the
  return value.  The function can work or not, but the code logic should
  never do something different based on this.

Omar, what do you want to do for this case?

[1] https://syzkaller.appspot.com/bug?extid=b382ba6a802a3d242790




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux