Re: [syzbot] [kernel?] inconsistent lock state in ptrace_attach

From: syzbot
Date: Fri Nov 17 2023 - 03:49:09 EST


syzbot has bisected this issue to:

commit 2d25a889601d2fbc87ec79b30ea315820f874b78
Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Sun Sep 17 11:24:21 2023 +0000

ptrace: Convert ptrace_attach() to use lock guards

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=132b7d84e80000
start commit: f31817cbcf48 Add linux-next specific files for 20231116
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=10ab7d84e80000
console output: https://syzkaller.appspot.com/x/log.txt?x=172b7d84e80000
kernel config: https://syzkaller.appspot.com/x/.config?x=f59345f1d0a928c
dashboard link: https://syzkaller.appspot.com/bug?extid=cbb25bb9b4d29a773985
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1014d797680000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11b1ec67680000

Reported-by: syzbot+cbb25bb9b4d29a773985@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: 2d25a889601d ("ptrace: Convert ptrace_attach() to use lock guards")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection