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

From: syzbot
Date: Fri Nov 17 2023 - 09:12:12 EST


Hello,

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

Reported-and-tested-by: syzbot+cbb25bb9b4d29a773985@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 7475e51b Merge tag 'net-6.7-rc2' of git://git.kernel.o..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=13d4baf4e80000
kernel config: https://syzkaller.appspot.com/x/.config?x=69e454cdc811976a
dashboard link: https://syzkaller.appspot.com/bug?extid=cbb25bb9b4d29a773985
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40

Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.