Re: [syzbot] possible deadlock in del_gendisk
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: 2021-06-07 10:56:33
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: 2021-06-07 10:56:33
Hello.
syzbot is reporting "possible deadlock in del_gendisk" problem.
I guess this is caused by commit 6cc8e7430801fa23 ("loop: scale loop device
by introducing per device lock") because it touches loop_ctl_mutex usage
between v5.11 and v5.12-rc1. Please have a look.
On 2021/04/14 2:33, syzbot wrote:Hello, syzbot found the following issue on: HEAD commit: e99d8a84 Add linux-next specific files for 20210409 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=13b01681d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=7cd69574979bfeb7 dashboard link: https://syzkaller.appspot.com/bug?extid=61e04e51b7ac86930589 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=148265d9d00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16a981a1d00000