From: Al Viro <viro@zeniv.linux.org.uk>
To: syzbot <syzbot+6d7771315ecb9233f395@syzkaller.appspotmail.com>
Cc: brauner@kernel.org, jack@suse.cz, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [fs?] possible deadlock in __simple_recursive_removal
Date: Wed, 2 Jul 2025 19:39:42 +0100 [thread overview]
Message-ID: <20250702183942.GD1880847@ZenIV> (raw)
In-Reply-To: <686574b1.a70a0220.2b31f5.0002.GAE@google.com>
On Wed, Jul 02, 2025 at 11:04:33AM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 50c8770a42fa Add linux-next specific files for 20250702
> git tree: linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=152d348c580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=70c16e4e191115d4
> dashboard link: https://syzkaller.appspot.com/bug?extid=6d7771315ecb9233f395
> compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=106bd770580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=164b048c580000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/3d4ef6bedc5b/disk-50c8770a.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/15b7565dc0ef/vmlinux-50c8770a.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/3b397342a62b/bzImage-50c8770a.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+6d7771315ecb9233f395@syzkaller.appspotmail.com
>
> ============================================
> WARNING: possible recursive locking detected
> 6.16.0-rc4-next-20250702-syzkaller #0 Not tainted
False positive. locked_recursive_removal() is called with ->i_rwsem
on the victim's parent. It will grab and release ->i_rwsem on
descendents of victim and victim itself (never more than one held
simultaneously) and it is used only on filesystems where we never
change the tree topology. So the normal ordering of ->i_rwsem is
upheld there.
Proper annotations would be to have the lock on parent grabbed with
I_MUTEX_PARENT as class...
next prev parent reply other threads:[~2025-07-02 18:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 18:04 [syzbot] [fs?] possible deadlock in __simple_recursive_removal syzbot
2025-07-02 18:39 ` Al Viro [this message]
2025-07-03 2:49 ` [syzbot] " syzbot
2025-07-03 9:21 ` syzbot
2025-07-03 9:24 ` syzbot
[not found] <20250703024914.1196577-1-lizhi.xu@windriver.com>
2025-07-03 9:24 ` syzbot
[not found] <20250703092137.1888114-1-lizhi.xu@windriver.com>
2025-07-03 11:08 ` syzbot
[not found] <20250703092424.1896345-1-lizhi.xu@windriver.com>
2025-07-03 11:15 ` syzbot
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=20250702183942.GD1880847@ZenIV \
--to=viro@zeniv.linux.org.uk \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+6d7771315ecb9233f395@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.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.