Re: possible deadlock in brd_probe

13 views
Skip to first unread message

Desmond Cheong Zhi Xi

unread,
Jun 18, 2021, 12:09:35 AM6/18/21
to syzbot+fd01c5...@syzkaller.appspotmail.com, syzkall...@googlegroups.com
#syz test:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

It seems that the circular dependency here contains the same
mtd_table_mutex -> major_names_lock dependency as the "possible deadlock
in loop_probe" reported here:
https://syzkaller.appspot.com/bug?extid=6a8a0d93c91e8fbf2e80

Just testing to see if the proposed fix will resolve this.

Best,
Desmond
0001-mtd-break-circular-locks-in-register_mtd_blktrans.patch

syzbot

unread,
Jun 18, 2021, 12:28:08 AM6/18/21
to desmond...@gmail.com, syzkall...@googlegroups.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+fd01c5...@syzkaller.appspotmail.com

Tested on:

commit: fd0aa1a4 Merge tag 'for-linus' of git://git.kernel.org/pub..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=309e9eb9ee71701e
dashboard link: https://syzkaller.appspot.com/bug?extid=fd01c5d29a476390728d
compiler:
patch: https://syzkaller.appspot.com/x/patch.diff?x=15669e34300000

Note: testing is done by a robot and is best-effort only.
Reply all
Reply to author
Forward
0 new messages