Re: [syzbot] possible deadlock in release_sock

From: Eric Dumazet
Date: Tue Jan 17 2023 - 06:04:30 EST


On Tue, Jan 17, 2023 at 11:59 AM syzbot
<syzbot+bbd35b345c7cab0d9a08@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 87b93b678e95 octeontx2-pf: Avoid use of GFP_KERNEL in atom..
> git tree: net
> console output: https://syzkaller.appspot.com/x/log.txt?x=1032dd91480000
> kernel config: https://syzkaller.appspot.com/x/.config?x=2b6ecad960fc703e
> dashboard link: https://syzkaller.appspot.com/bug?extid=bbd35b345c7cab0d9a08
> compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1716b3a1480000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14e57a91480000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/191e8cc30fff/disk-87b93b67.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/d34dd6d2fffd/vmlinux-87b93b67.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/ad9344e76aaf/bzImage-87b93b67.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+bbd35b345c7cab0d9a08@xxxxxxxxxxxxxxxxxxxxxxxxx

Fix under review :
https://patchwork.kernel.org/project/netdevbpf/patch/20230117110131.1362738-1-edumazet@xxxxxxxxxx/